Completed
Push — master ( 23b86d...e09bdb )
by Marco
9s
created
src/SimpleCacheAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
             throw Exception\InvalidArgumentException::fromEmptyKey();
50 50
         }
51 51
 
52
-        if (preg_match('/[' . preg_quote('{}()/\@:', '/') . ']/', $key)) {
52
+        if (preg_match('/['.preg_quote('{}()/\@:', '/').']/', $key)) {
53 53
             throw Exception\InvalidArgumentException::fromInvalidKeyCharacters($key);
54 54
         }
55 55
     }
Please login to merge, or discard this patch.