Skip to content

Commit

Permalink
Another PHPStan fix
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Feb 26, 2025
1 parent 3862936 commit e19f545
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/Checker/Checks/Plugin_Repo/Plugin_Readme_Check.php
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ private function check_requires_headers( Check_Result $result, string $readme_fi
*
* @since 1.0.2
*
* @param Parser $parser The Parser object.
* @param DotorgParser|PrefixedParser $parser The Parser object.
* @return array Ignored warnings.
*/
private function get_ignored_warnings( $parser ) {
Expand All @@ -872,8 +872,8 @@ private function get_ignored_warnings( $parser ) {
*
* @since 1.0.2
*
* @param array $ignored_warnings Array of ignored warning keys.
* @param Parser $parser The Parser object.
* @param array $ignored_warnings Array of ignored warning keys.
* @param DotorgParser|PrefixedParser $parser The Parser object.
*/
$ignored_warnings = (array) apply_filters( 'wp_plugin_check_ignored_readme_warnings', $ignored_warnings, $parser );

Expand Down

0 comments on commit e19f545

Please sign in to comment.