forked from wallabag/wallabag
Modernize to PHP 7.3
This commit is contained in:
@ -20,6 +20,6 @@ class Matches
|
||||
return false;
|
||||
}
|
||||
|
||||
return false !== stripos($subject, $pattern);
|
||||
return false !== stripos($subject, (string) $pattern);
|
||||
}
|
||||
}
|
||||
|
||||
@ -20,6 +20,6 @@ class NotMatches
|
||||
return true;
|
||||
}
|
||||
|
||||
return false === stripos($subject, $pattern);
|
||||
return false === stripos($subject, (string) $pattern);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user