[wp-trac] [WordPress Trac] #53878: Return type not matched in PHPDoc - Bundled Themes

WordPress Trac noreply at wordpress.org
Thu Aug 12 19:29:57 UTC 2021


#53878: Return type not matched in PHPDoc - Bundled Themes
------------------------------------+-------------------------------------
 Reporter:  ankitmaru               |       Owner:  SergeyBiryukov
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:  5.9
Component:  Bundled Theme           |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |     Focuses:  docs, coding-standards
------------------------------------+-------------------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51607" 51607]:
 {{{
 #!CommitTicketReference repository="" revision="51607"
 Docs: Synchronize documentation for `wp_get_attachment_image_attributes`
 filter callbacks in bundled themes:

 * Twenty Sixteen: Correct the `$attachment` parameter type, use typed
 array notation.
 * Twenty Seventeen: Correct the `$attachment` parameter type, use typed
 array notation.
 * Twenty Nineteen: Correct the `@return` value type, use typed array
 notation.
 * Twenty Twenty-One: Add missing `@return` value description, use typed
 array notation.

 Follow-up to [29836], [47249], [49021], [49597].

 Props ankitmaru, mukesh27, SergeyBiryukov.
 Fixes #53878.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53878#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list