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