Failed Conditions
Push — v3.x ( babbd8...d960e5 )
by Chad
02:14
created
src/Cache/ArrayCache.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -179,9 +179,8 @@
 block discarded – undo
179 179
     /**
180 180
      * Converts the given time to live value to a epoch timestamp.
181 181
      *
182
-     * @param mixed $key The cache key to validate.
183 182
      *
184
-     * @return void
183
+     * @return integer
185 184
      *
186 185
      * @throws InvalidArgumentException Thrown if the $ttl is not null, an integer or \DateInterval.
187 186
      */
Please login to merge, or discard this patch.
src/Cache/MongoCache.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@  discard block
 block discarded – undo
24 24
      * Construct a new instance of MongoCache.
25 25
      *
26 26
      * @param Collection $collection        The collection containing the cached data.
27
-     * @param integer    $defaultTimeToLive The default time to live in seconds.
28 27
      */
29 28
     public function __construct(Collection $collection)
30 29
     {
@@ -240,7 +239,6 @@  discard block
 block discarded – undo
240 239
     /**
241 240
      * Converts the given time to live value to a UTCDateTime instance;
242 241
      *
243
-     * @param mixed $key The cache key to validate.
244 242
      *
245 243
      * @return UTCDateTime
246 244
      *
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Chadicus\Marvel\Api\Cache;
4 4
 
5
-use DominionEnterprises\Util\Arrays;
6 5
 use GuzzleHttp\Psr7\Response;
7 6
 use MongoDB\BSON\UTCDateTime;
8 7
 use Psr\Http\Message\ResponseInterface;
Please login to merge, or discard this patch.