Completed
Push — 2.0 ( c9f4d8...1bf5a3 )
by Marco
46:52
created
src/Comodojo/Cache/Drivers/Void.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -33,18 +33,28 @@  discard block
 block discarded – undo
33 33
 
34 34
     }
35 35
 
36
+    /**
37
+     * @param string $key
38
+     */
36 39
     public function get($key, $namespace) {
37 40
 
38 41
         return null;
39 42
 
40 43
     }
41 44
 
45
+    /**
46
+     * @param string $key
47
+     * @param string $value
48
+     */
42 49
     public function set($key, $namespace, $value, $ttl = null) {
43 50
 
44 51
         return true;
45 52
 
46 53
     }
47 54
 
55
+    /**
56
+     * @param string $key
57
+     */
48 58
     public function delete($key, $namespace) {
49 59
 
50 60
         return false;
@@ -75,6 +85,9 @@  discard block
 block discarded – undo
75 85
 
76 86
     }
77 87
 
88
+    /**
89
+     * @param string $key
90
+     */
78 91
     public function has($key, $namespace) {
79 92
 
80 93
         return false;
Please login to merge, or discard this patch.
src/Comodojo/SimpleCache/Interfaces/EnhancedSimpleCacheInterface.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * Set provider in error state
62 62
      *
63
-     * @param bool $status
63
+     * @param bool $state
64 64
      *   Current status
65 65
      *
66 66
      * @param string $message
@@ -85,6 +85,9 @@  discard block
 block discarded – undo
85 85
 
86 86
     public function getNamespace();
87 87
 
88
+    /**
89
+     * @return \Comodojo\Cache\Traits\NamespaceTrait
90
+     */
88 91
     public function setNamespace($namespace);
89 92
 
90 93
     public function clearNamespace();
Please login to merge, or discard this patch.
src/Comodojo/SimpleCache/Manager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -174,6 +174,9 @@
 block discarded – undo
174 174
 
175 175
     }
176 176
 
177
+    /**
178
+     * @param string $mode
179
+     */
177 180
     protected function selectFrom($mode, $key, $default=null) {
178 181
 
179 182
         if ( $this->pick_mode < 5 ) {
Please login to merge, or discard this patch.
src/Comodojo/Cache/Interfaces/EnhancedCacheItemPoolInterface.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * Set provider in error state
62 62
      *
63
-     * @param bool $status
63
+     * @param bool $state
64 64
      *   Current status
65 65
      *
66 66
      * @param string $message
@@ -85,6 +85,9 @@  discard block
 block discarded – undo
85 85
 
86 86
     public function getNamespace();
87 87
 
88
+    /**
89
+     * @return \Comodojo\Cache\Traits\NamespaceTrait
90
+     */
88 91
     public function setNamespace($namespace);
89 92
 
90 93
     public function clearNamespace();
Please login to merge, or discard this patch.