Passed
Push — main ( 27a10c...ecd871 )
by
unknown
03:27
created
src/SuperCacheManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
         $isCluster = config('database.redis.clusters.' . ($connection_name ?? 'default')) !== null;
87 87
         $advancedMode = (int) config('supercache.advancedMode', 0) === 1;
88 88
         if (!$isCluster) {
89
-            $this->redis->pipeline(function ($pipe) use ($finalKey, $value, $tags, $ttl, $advancedMode) {
89
+            $this->redis->pipeline(function($pipe) use ($finalKey, $value, $tags, $ttl, $advancedMode) {
90 90
                 if ($ttl !== null) {
91 91
                     $pipe->setEx($finalKey, $ttl, $this->serializeForRedis($value));
92 92
                 } else {
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
         $tags = $this->redis->getRedisConnection($connection_name)->smembers($this->prefix . 'tags:' . $finalKey);
185 185
         $isCluster = config('database.redis.clusters.' . ($connection_name ?? 'default')) !== null;
186 186
         if (!$isCluster) {
187
-            $this->redis->pipeline(function ($pipe) use ($tags, $finalKey) {
187
+            $this->redis->pipeline(function($pipe) use ($tags, $finalKey) {
188 188
                 foreach ($tags as $tag) {
189 189
                     $shard = $this->getShardNameForTag($tag, $finalKey);
190 190
                     $pipe->srem($shard, $finalKey);
Please login to merge, or discard this patch.