Completed
Push — master ( 8ef88f...bf8a34 )
by Lars
24:17 queued 16:57
created
src/voku/cache/AdapterMemcache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
   /**
28 28
    * __construct
29 29
    *
30
-   * @param \Memcache $memcache
30
+   * @param \Memcache|null $memcache
31 31
    */
32 32
   public function __construct($memcache)
33 33
   {
Please login to merge, or discard this patch.
src/voku/cache/AdapterMemcached.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
   /**
23 23
    * __construct
24 24
    *
25
-   * @param \Memcached $memcached
25
+   * @param \Memcached|null $memcached
26 26
    */
27 27
   public function __construct($memcached)
28 28
   {
Please login to merge, or discard this patch.
src/voku/cache/AdapterPredis.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
   private $client;
23 23
 
24 24
   /**
25
-   * @param Client $client
25
+   * @param Client|null $client
26 26
    */
27 27
   public function __construct($client)
28 28
   {
Please login to merge, or discard this patch.
src/voku/cache/Cache.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
   }
395 395
 
396 396
   /**
397
-   * @return mixed
397
+   * @return string
398 398
    */
399 399
   public function getPrefix()
400 400
   {
@@ -418,7 +418,7 @@  discard block
 block discarded – undo
418 418
    * @param mixed     $value
419 419
    * @param \DateTime $date
420 420
    *
421
-   * @return mixed|void
421
+   * @return boolean
422 422
    * @throws \Exception
423 423
    */
424 424
   public function setItemToDate($key, $value, \DateTime $date)
Please login to merge, or discard this patch.
src/voku/cache/AdapterFile.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,6 +151,9 @@  discard block
 block discarded – undo
151 151
     return true;
152 152
   }
153 153
 
154
+  /**
155
+   * @param string $path
156
+   */
154 157
   protected function createCacheDirectory($path)
155 158
   {
156 159
     if (!@mkdir($path, 0777, true) || !is_dir($path)) {
@@ -165,7 +168,7 @@  discard block
 block discarded – undo
165 168
   }
166 169
 
167 170
   /**
168
-   * @param $cacheFile
171
+   * @param string $cacheFile
169 172
    *
170 173
    * @return bool
171 174
    */
Please login to merge, or discard this patch.