@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * (c) Christian Gripp <[email protected]> |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | */ |
166 | 166 | private function equalToErrors(): Callback |
167 | 167 | { |
168 | - return $this->callback(function ($error) { |
|
168 | + return $this->callback(function($error) { |
|
169 | 169 | if ($error instanceof FormError) { |
170 | 170 | foreach ($this->errors as &$data) { |
171 | 171 | if ($error->getMessage() === $data['message'] && $error->getMessageParameters() === $data['parameters']) { |