Passed
Push — feature/ensure-code-is-PSR12 ( e141c1...545814 )
by Liam
06:03 queued 03:50
created
src/liamsorsby/Hystrix/Storage/StorageFactory.php 1 patch
Switch Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -65,20 +65,20 @@
 block discarded – undo
65 65
         $options = $this->normaliseOptions($options);
66 66
 
67 67
         switch ($storage) {
68
-            case self::APCU:
69
-                return $this->createApcuAdapter($options);
70
-            case self::MEMCACHED:
71
-                return $this->createMemcachedAdapter($options);
72
-            case self::REDIS:
73
-                return $this->createRedisAdapter($options);
74
-            case self::REDIS_ARRAY:
75
-                return $this->createRedisArrayAdapter($options);
76
-            case self::REDIS_CLUSTER:
77
-                return $this->createRedisClusterAdapter($options);
78
-            default:
79
-                throw new \InvalidArgumentException(
80
-                    sprintf('Invalid storage provided: %s', $storage)
81
-                );
68
+        case self::APCU:
69
+            return $this->createApcuAdapter($options);
70
+        case self::MEMCACHED:
71
+            return $this->createMemcachedAdapter($options);
72
+        case self::REDIS:
73
+            return $this->createRedisAdapter($options);
74
+        case self::REDIS_ARRAY:
75
+            return $this->createRedisArrayAdapter($options);
76
+        case self::REDIS_CLUSTER:
77
+            return $this->createRedisClusterAdapter($options);
78
+        default:
79
+            throw new \InvalidArgumentException(
80
+                sprintf('Invalid storage provided: %s', $storage)
81
+            );
82 82
         };
83 83
     }
84 84
 
Please login to merge, or discard this patch.