Passed
Push — v9 ( 714b62...90a28a )
by Georges
01:59
created
lib/Phpfastcache/Cluster/Drivers/MasterSlaveReplication/Driver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     public function getItem(string $key): ExtendedCacheItemInterface
61 61
     {
62 62
         return $this->getStandardizedItem(
63
-            $this->makeOperation(static function (ExtendedCacheItemPoolInterface $pool) use ($key) {
63
+            $this->makeOperation(static function(ExtendedCacheItemPoolInterface $pool) use ($key) {
64 64
                 return $pool->getItem($key);
65 65
             }) ?? (new Item($this, $key, $this->getEventManager()))->expiresAfter((int) abs($this->getConfig()->getDefaultTtl())),
66 66
             $this
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     public function save(CacheItemInterface $item): bool
143 143
     {
144 144
         return $this->makeOperation(
145
-            function (ExtendedCacheItemPoolInterface $pool) use ($item) {
145
+            function(ExtendedCacheItemPoolInterface $pool) use ($item) {
146 146
                 /** @var ExtendedCacheItemInterface $item */
147 147
                 $item->setHit(true);
148 148
                 return $pool->save($this->getStandardizedItem($item, $pool));
Please login to merge, or discard this patch.