Index: functions.php
===================================================================
--- functions.php	(revision 12357)
+++ functions.php	(working copy)
@@ -1035,6 +1035,9 @@
  * This can't be done through a filter in the themes functions.php, as it appears that's not loaded for the Rest API.
  *
  * @see https://meta.trac.wordpress.org/ticket/4667
+ * @param int $id
+ * @param WP_Post $post
+ * @param string $post_before
  */
 function wptv_update_attachment_titles( $id, $post, $post_before ) {
 	if ( 'post' !== $post->post_type ) {