Passed
Pull Request — master (#3)
by
unknown
07:25
created
src/Psr16/NoCacheEngine.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      * @return bool
81 81
      * @throws \Psr\SimpleCache\InvalidArgumentException
82 82
      *   MUST be thrown if the $key string is not a legal value.
83
-    */
83
+     */
84 84
     public function has($key)
85 85
     {
86 86
         return false;
Please login to merge, or discard this patch.
src/Psr16/ShmopCacheEngine.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      */
74 74
     public function get($key, $default = null)
75 75
     {
76
-       if ($default === false) {
76
+        if ($default === false) {
77 77
             $this->logger->info("[Shmop Cache] Ignored  $key because TTL=FALSE");
78 78
             return $default;
79 79
         }
Please login to merge, or discard this patch.
src/Psr16/BaseCacheEngine.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 {
11 11
     /**
12 12
      * @param $keys
13
-     * @param null $default
13
+     * @param string $default
14 14
      * @return array|iterable
15 15
      * @throws \ByJG\Cache\InvalidArgumentException
16 16
      * @throws \Psr\SimpleCache\InvalidArgumentException
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     }
42 42
 
43 43
     /**
44
-     * @param iterable $keys
44
+     * @param string[] $keys
45 45
      * @return bool|void
46 46
      * @throws \Psr\SimpleCache\InvalidArgumentException
47 47
      */
Please login to merge, or discard this patch.