@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | */ |
| 199 | 199 | public function scan(&$iterator, $pattern = null, $count = null) |
| 200 | 200 | { |
| 201 | - if ((string)$iterator === '0') { |
|
| 201 | + if ((string) $iterator === '0') { |
|
| 202 | 202 | return null; |
| 203 | 203 | } |
| 204 | 204 | $this->init(); |
@@ -249,7 +249,7 @@ discard block |
||
| 249 | 249 | */ |
| 250 | 250 | public function hscan($key, &$iterator, $pattern = null, $count = null) |
| 251 | 251 | { |
| 252 | - if ((string)$iterator === '0') { |
|
| 252 | + if ((string) $iterator === '0') { |
|
| 253 | 253 | return null; |
| 254 | 254 | } |
| 255 | 255 | $this->init(); |
@@ -309,7 +309,7 @@ discard block |
||
| 309 | 309 | */ |
| 310 | 310 | public function sscan($key, &$iterator, $pattern = null, $count = null) |
| 311 | 311 | { |
| 312 | - if ((string)$iterator === '0') { |
|
| 312 | + if ((string) $iterator === '0') { |
|
| 313 | 313 | return null; |
| 314 | 314 | } |
| 315 | 315 | $this->init(); |
@@ -331,7 +331,7 @@ discard block |
||
| 331 | 331 | */ |
| 332 | 332 | public function zscan($key, &$iterator, $pattern = null, $count = null) |
| 333 | 333 | { |
| 334 | - if ((string)$iterator === '0') { |
|
| 334 | + if ((string) $iterator === '0') { |
|
| 335 | 335 | return null; |
| 336 | 336 | } |
| 337 | 337 | $this->init(); |