@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | class ValidatorIterator implements IValidatorIterator |
| 23 | 23 | { |
| 24 | 24 | /** @var IValidator[] */ |
| 25 | - protected $validators = []; |
|
| 25 | + protected $validators = [ ]; |
|
| 26 | 26 | /** @var int */ |
| 27 | 27 | protected $offset = 0; |
| 28 | 28 | |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | */ |
| 49 | 49 | protected function add(IValidator $validator) |
| 50 | 50 | { |
| 51 | - $this->validators[] = $validator; |
|
| 51 | + $this->validators[ ] = $validator; |
|
| 52 | 52 | return $this; |
| 53 | 53 | } |
| 54 | 54 | |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | */ |
| 59 | 59 | public function current() |
| 60 | 60 | { |
| 61 | - return $this->validators[$this->offset]; |
|
| 61 | + return $this->validators[ $this->offset ]; |
|
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | /** |