]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Operator/Doctrine/NotMatches.php
CS
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Operator / Doctrine / NotMatches.php
index b7f9da57f532f85d3e4656c018f00c129d1f3a9c..8e50f8d67cc98aea901505f531fd7bdcb550490f 100644 (file)
@@ -16,7 +16,7 @@ class NotMatches
 {
     public function __invoke($subject, $pattern)
     {
-        if ($pattern[0] === "'") {
+        if ("'" === $pattern[0]) {
             $pattern = sprintf("'%%%s%%'", substr($pattern, 1, -1));
         }