@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Linio\Component\Cache\Adapter; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Linio\Component\Cache\Adapter; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Linio\Component\Cache\Adapter; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Linio\Component\Cache\Adapter; |
| 5 | 5 | |
@@ -152,8 +152,8 @@ discard block |
||
| 152 | 152 | protected function getConnectionParameters(array $config): array |
| 153 | 153 | { |
| 154 | 154 | $connectionParameters = []; |
| 155 | - $connectionParameters['host'] = $config['host'] ?? '127.0.0.1'; |
|
| 156 | - $connectionParameters['port'] = $config['port'] ?? 6379; |
|
| 155 | + $connectionParameters['host'] = $config['host'] ? ? '127.0.0.1'; |
|
| 156 | + $connectionParameters['port'] = $config['port'] ? ? 6379; |
|
| 157 | 157 | if (isset($config['database'])) { |
| 158 | 158 | $connectionParameters['database'] = $config['database']; |
| 159 | 159 | } |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Linio\Component\Cache\Adapter; |
| 5 | 5 | |