[buddypress-trac] [BuddyPress Trac] #8553: PHPDoc Improvements

buddypress-trac noreply at wordpress.org
Tue Jan 10 16:59:39 UTC 2023


#8553: PHPDoc Improvements
-------------------------+--------------------------
 Reporter:  espellcaste  |       Owner:  espellcaste
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  12.0.0
Component:  Core         |     Version:  9.1.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+--------------------------

Comment (by prbot):

 ''This ticket was mentioned in
 [https://github.com/buddypress/buddypress/pull/55 PR #55] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://github.com/renatonascalves renatonascalves].''
 There are a lot of action callbacks being misused.

 This pull request:

 - removes the `@return` PHPdoc in functions without returned values, only
 with side effects;
 - remove boolean values from functions without returned values, only with
 side effects;
 - Update `add_action` to `add_filter` where applicable.

 Trac ticket: https://buddypress.trac.wordpress.org/ticket/8553

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8553#comment:15>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list