Skip to content

Commit

Permalink
Add phpstan ignore line
Browse files Browse the repository at this point in the history
  • Loading branch information
Miraeld committed Oct 25, 2024
1 parent 68df013 commit 92464d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Engine/Plugin/UpdaterSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public static function get_subscribed_events() {
* @return array Updated array of HTTP request arguments.
*/
public function exclude_rocket_from_wp_updates( $request, $url ) {
if ( ! is_string( $url ) ) {
if ( ! is_string( $url ) ) { // @phpstan-ignore-line GH #7042 - $url variable may be change by other plugins to something else than string.
return $request;
}

Expand Down

0 comments on commit 92464d1

Please sign in to comment.