Completed
Push — 2.0 ( f9aac1...beffc6 )
by Marco
13:31
created
src/Comodojo/Cache/Cache.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -308,6 +308,9 @@  discard block
 block discarded – undo
308 308
     // public function getErrorMessage();
309 309
 
310 310
 
311
+    /**
312
+     * @param string $name
313
+     */
311 314
     private function getFromSingleProvider($selector, $name) {
312 315
 
313 316
         switch ($this->selector) {
@@ -335,6 +338,9 @@  discard block
 block discarded – undo
335 338
 
336 339
     }
337 340
 
341
+    /**
342
+     * @param string $name
343
+     */
338 344
     private function getFromAllProviders($name) {
339 345
 
340 346
         $data = array();
@@ -356,6 +362,9 @@  discard block
 block discarded – undo
356 362
 
357 363
     }
358 364
 
365
+    /**
366
+     * @param string $name
367
+     */
359 368
     private function getTraverse($name) {
360 369
 
361 370
         $data;
Please login to merge, or discard this patch.
src/Comodojo/Cache/Providers/AbstractFileSystemProvider.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      * Set a cache element using xattr
68 68
      *
69 69
      * @param   string  $name    Name for cache element
70
-     * @param   mixed   $data    Data to cache
70
+     * @param   string   $data    Data to cache
71 71
      * @param   int     $ttl     Time to live
72 72
      *
73 73
      * @return  bool
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      * Set a cache element using ghost file
111 111
      *
112 112
      * @param   string  $name    Name for cache element
113
-     * @param   mixed   $data    Data to cache
113
+     * @param   string   $data    Data to cache
114 114
      * @param   int     $ttl     Time to live
115 115
      *
116 116
      * @return  bool
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      * @param   string  $name    Name for cache element
156 156
      * @param   int     $time
157 157
      *
158
-     * @return  mixed
158
+     * @return  string|null
159 159
      */
160 160
     protected function getXattr($name, $time) {
161 161
 
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
      * @param   string  $name    Name for cache element
214 214
      * @param   int     $time
215 215
      *
216
-     * @return  mixed
216
+     * @return  string|null
217 217
      */
218 218
     protected function getGhost($name, $time) {
219 219
 
Please login to merge, or discard this patch.