[wp-trac] [WordPress Trac] #30799: Scrutinizer in 4.2

WordPress Trac noreply at wordpress.org
Sat Jan 10 06:53:50 UTC 2015

#30799: Scrutinizer in 4.2
 Reporter:  wonderboymusic  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.2
Component:  General         |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:

Comment (by wonderboymusic):

 In [changeset:"31126"]:
 #!CommitTicketReference repository="" revision="31126"
 Adding a `@return` annotation to constructors is generally not recommended
 as a constructor does not have a meaningful return value. Constructors do
 not have meaningful return values, anything that is returned from here is

 See #30799.

Ticket URL: <https://core.trac.wordpress.org/ticket/30799#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list