[wp-trac] [WordPress Trac] #64224: Docblock improvements for 7.0
WordPress Trac
noreply at wordpress.org
Wed Jan 21 12:14:28 UTC 2026
#64224: Docblock improvements for 7.0
----------------------------+-------------------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 7.0
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
----------------------------+-------------------------------
Comment (by johnbillion):
In [changeset:"61505" 61505]:
{{{
#!CommitTicketReference repository="" revision="61505"
Docs: Remove redundant syntax from callable type declarations.
The parameter name is optional in PHPStan but not supported by Psalm.
While neither tools are officially supported, this removes the parse error
that Psalm users otherwise see.
See https://github.com/php-stubs/wordpress-stubs/issues/410 for some
external discussion.
Props farhad0, marian1
See #64224
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64224#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list