Passed
Push — v7 ( 7e6987...38cfdc )
by Georges
01:40
created
lib/Phpfastcache/Helper/Psr16Adapter.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Helper;
17 17
 
@@ -43,12 +43,12 @@  discard block
 block discarded – undo
43 43
      */
44 44
     public function __construct($driver, $config = null)
45 45
     {
46
-        if($driver instanceof ExtendedCacheItemPoolInterface){
47
-            if($config !== null){
46
+        if ($driver instanceof ExtendedCacheItemPoolInterface) {
47
+            if ($config !== null) {
48 48
                 throw new PhpfastcacheLogicException("You can't pass a config parameter along with an non-string '\$driver' parameter.");
49 49
             }
50 50
             $this->internalCacheInstance = $driver;
51
-        }else{
51
+        } else {
52 52
             $this->internalCacheInstance = CacheManager::getInstance($driver, $config);
53 53
         }
54 54
     }
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     public function getMultiple($keys, $default = null)
134 134
     {
135 135
         try {
136
-            return array_map(function (ExtendedCacheItemInterface $item) {
136
+            return array_map(function(ExtendedCacheItemInterface $item) {
137 137
                 return $item->get();
138 138
             }, $this->internalCacheInstance->getItems($keys));
139 139
         } catch (PhpfastcacheInvalidArgumentException $e) {
Please login to merge, or discard this patch.