Completed
Push — v5 ( 3408cd...5866c7 )
by Georges
02:36
created
src/phpFastCache/Cache/ItemBaseTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
     public function removeTag($tagName)
350 350
     {
351 351
         if (($key = array_search($tagName, $this->tags)) !== false) {
352
-            unset($this->tags[ $key ]);
352
+            unset($this->tags[$key]);
353 353
             $this->removedTags[] = $tagName;
354 354
         }
355 355
 
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
     final public function __sleep()
384 384
     {
385 385
         $info = get_object_vars($this);
386
-        $info[ 'driver' ] = 'object(' . get_class($info[ 'driver' ]) . ')';
386
+        $info['driver'] = 'object(' . get_class($info['driver']) . ')';
387 387
 
388 388
         return (array) $info;
389 389
     }
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
     final public function __debugInfo()
396 396
     {
397 397
         $info = get_object_vars($this);
398
-        $info[ 'driver' ] = 'object(' . get_class($info[ 'driver' ]) . ')';
398
+        $info['driver'] = 'object(' . get_class($info['driver']) . ')';
399 399
 
400 400
         return (array) $info;
401 401
     }
Please login to merge, or discard this patch.