@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | * @return array<string>|string|string |
| 112 | 112 | * @throws RuntimeException |
| 113 | 113 | */ |
| 114 | - protected function getResponse(): array|string|null |
|
| 114 | + protected function getResponse(): array | string | null |
|
| 115 | 115 | { |
| 116 | 116 | $line = fgets($this->getSocket()); |
| 117 | 117 | if ($line === false) { |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | } |
| 138 | 138 | } elseif ($type === '*') { // multi-bulk reply |
| 139 | 139 | $count = (int) $result; |
| 140 | - for ($i = 0 , $result = []; $i < $count; $i++) { |
|
| 140 | + for ($i = 0, $result = []; $i < $count; $i++) { |
|
| 141 | 141 | $result[] = $this->getResponse(); |
| 142 | 142 | } |
| 143 | 143 | } |