Completed
Push — master ( 8c3335...995c40 )
by Sergey
03:05
created
src/CacheItem.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@
 block discarded – undo
22 22
 
23 23
     protected $hit;
24 24
 
25
+    /**
26
+     * @param string $key
27
+     */
25 28
     public function __construct($key, $ttl = null, $hit = false)
26 29
     {
27 30
         $this->key = $key;
Please login to merge, or discard this patch.
src/CacheItemPool.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      *
195 195
      * @param CacheItemInterface[] $items
196 196
      *
197
-     * @return bool
197
+     * @return boolean|null
198 198
      *   TRUE if all provided items were successfully saved. FALSE otherwise.
199 199
      */
200 200
     protected function write(array $items)
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
      *   If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
217 217
      *   MUST be thrown.
218 218
      *
219
-     * @return bool
219
+     * @return boolean|null
220 220
      *  True if item exists in the cache, false otherwise.
221 221
      */
222 222
     public function hasItem($key)
Please login to merge, or discard this patch.