Skip to content

Commit 8c068bb

Browse files
committed
Ignore false positive from PHPStan
1 parent be2c24b commit 8c068bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/class-wp-scripts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ private function get_highest_fetchpriority_with_dependents( string $handle, arra
11211121
}
11221122
}
11231123
}
1124-
$stored_results[ $handle ] = $priorities[ $highest_priority_index ];
1124+
$stored_results[ $handle ] = $priorities[ $highest_priority_index ]; // @phpstan-ignore parameterByRef.type (We know the index is valid and that this will be a string.)
11251125
return $priorities[ $highest_priority_index ];
11261126
}
11271127

0 commit comments

Comments
 (0)