Completed
Push — master ( e78733...dfbd0e )
by Franck
17:20 queued 02:25
created
src/Directory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      * Build and return the path of a directory
132 132
      *
133 133
      * @param string $path The directory path to build
134
-     * @return mixed
134
+     * @return string
135 135
      */
136 136
     protected function buildPath($path)
137 137
     {
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
      *
356 356
      * @param  boolean $all Wether to flush the whole database, or (preferably)
357 357
      *                      the entries prefixed with prefix_key and prefix_tag.
358
-     * @return boolean Returns True on success or False on failure.
358
+     * @return boolean|null Returns True on success or False on failure.
359 359
      */
360 360
     public function flush($all = false)
361 361
     {
Please login to merge, or discard this patch.
src/Files.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
      *
170 170
      * @param  boolean $all Wether to flush the whole database, or (preferably)
171 171
      *                      the entries prefixed with prefix_key and prefix_tag.
172
-     * @return boolean Returns True on success or False on failure.
172
+     * @return boolean|null Returns True on success or False on failure.
173 173
      */
174 174
     public function flush($all = false)
175 175
     {
Please login to merge, or discard this patch.
src/Memcached.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -267,7 +267,7 @@
 block discarded – undo
267 267
      * @param string $id        The cache id to retrieve.
268 268
      * @param float  $cas_token The variable to store the CAS token in.
269 269
      *
270
-     * @return mixed|null Returns the cached data or null.
270
+     * @return string Returns the cached data or null.
271 271
      */
272 272
     public function get($id, &$cas_token = null)
273 273
     {
Please login to merge, or discard this patch.
src/PsrCache/Item.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      * from the pool.
56 56
      * @param string                 $key   The item key
57 57
      * @param mixed                  $value The item value (unserialized)
58
-     * @param \DateTime|integer|null $ttl
58
+     * @param integer|null $ttl
59 59
      * @param bool                   $hit   Was this item retrived from cache?
60 60
      */
61 61
     public function __construct($key, $value = null, $ttl = null, $hit = false)
@@ -69,6 +69,7 @@  discard block
 block discarded – undo
69 69
     /**
70 70
      * Returns a normalised key.
71 71
      *
72
+     * @param string $key
72 73
      * @return string
73 74
      */
74 75
     public static function normalizedKey($key)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 namespace Apix\Cache\PsrCache;
14 14
 
15 15
 use Psr\Cache\CacheItemInterface as ItemInterface;
16
-use Psr\Cache\CacheItemPoolInterface as ItemPoolInterface;
17 16
 
18 17
 class Item implements ItemInterface
19 18
 {
Please login to merge, or discard this patch.