[wp-trac] [WordPress Trac] #32444: Scrutinizer in 4.3
WordPress Trac
noreply at wordpress.org
Thu May 21 22:18:53 UTC 2015
#32444: Scrutinizer in 4.3
----------------------------+-----------------------------
Reporter: wonderboymusic | Owner: wonderboymusic
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.3
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+-----------------------------
Comment (by westonruter):
Replying to [comment:16 wonderboymusic]:
> In [changeset:"32535"]:
> {{{
> #!CommitTicketReference repository="" revision="32535"
> In `class-wp-customize-*`, clarify/add some `@param`/`@return` blocks.
Disambiguate some functions that are trying to return the `void` response
of another function they call internally.
>
> See #32444.
> }}}
Replacing `return null` with just `return` raises flags in PhpStorm:
“Missing return argument”. Does scrutinizer complain when `null` is used,
even when `@return array|null` is part of the phpDoc?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32444#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list