Completed
Push — master ( 23b86d...e09bdb )
by Marco
9s
created
src/SimpleCacheAdapter.php 2 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
 
136 136
     /**
137 137
      * @param array|\Traversable $keys
138
-     * @param mixed $default
138
+     * @param string $default
139 139
      * @return array
140 140
      * @throws \Roave\DoctrineSimpleCache\Exception\InvalidArgumentException
141 141
      */
Please login to merge, or discard this patch.