X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FOperator%2FPHP%2FMatches.php;h=bc0c3f8f76bed331d0125a1816d8323dd68caf34;hb=3ef055ced3d6ea0d2f15ba660602545f477e9c3c;hp=987ed2a50b26127adf95d842d681d6a199bd9643;hpb=f40c88eb1fa349aab600f9c1c94364f317fe62dd;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Operator/PHP/Matches.php b/src/Wallabag/CoreBundle/Operator/PHP/Matches.php index 987ed2a5..bc0c3f8f 100644 --- a/src/Wallabag/CoreBundle/Operator/PHP/Matches.php +++ b/src/Wallabag/CoreBundle/Operator/PHP/Matches.php @@ -16,6 +16,6 @@ class Matches { public function __invoke($subject, $pattern) { - return stripos($subject, $pattern) !== false; + return false !== stripos($subject, $pattern); } }