Completed
Pull Request — master (#12)
by Klaus
02:51
created
Category
src/Adapter/RedisAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,8 +153,8 @@
 block discarded – undo
153 153
     protected function getConnectionParameters(array $config): array
154 154
     {
155 155
         $connectionParameters = [];
156
-        $connectionParameters['host'] = $config['host'] ?? '127.0.0.1';
157
-        $connectionParameters['port'] = $config['port'] ?? 6379;
156
+        $connectionParameters['host'] = $config['host'] ? ? '127.0.0.1';
157
+        $connectionParameters['port'] = $config['port'] ? ? 6379;
158 158
         if (isset($config['database'])) {
159 159
             $connectionParameters['database'] = $config['database'];
160 160
         }
Please login to merge, or discard this patch.