@@ -65,20 +65,20 @@ |
||
| 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 | |