[buddypress-trac] [BuddyPress Trac] #9319: Clarify phpdoc return types for template helper functions

buddypress-trac noreply at wordpress.org
Wed Dec 31 04:28:55 UTC 2025


#9319: Clarify phpdoc return types for template helper functions
------------------------------+-----------------------------
 Reporter:  manhphucofficial  |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Core              |    Version:
 Severity:  normal            |   Keywords:
------------------------------+-----------------------------
 Some template helper functions currently document their return value as
 `mixed`,
 even though they only return well-defined values.

 This ticket proposes clarifying the PHPDoc return types to better reflect
 the
 existing behavior, without changing any runtime logic.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9319>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list