@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | public function __construct(array $validators = []) |
28 | 28 | { |
29 | 29 | foreach ($validators as $name => $validator) { |
30 | - $this->addValidator((string)$name, $validator); |
|
30 | + $this->addValidator((string) $name, $validator); |
|
31 | 31 | } |
32 | 32 | } |
33 | 33 | |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | isset($tainted[$name]) ? $tainted[$name] : null |
69 | 69 | ); |
70 | 70 | } catch (Exception $exception) { |
71 | - $exception->pushValidatorName((string)$name); |
|
71 | + $exception->pushValidatorName((string) $name); |
|
72 | 72 | $this->fireException($exception); |
73 | 73 | } catch (\Exception $exception) { |
74 | 74 | $this->fireException($exception); |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | |
78 | 78 | if (!$this->ignoreUnknown && $diff = array_diff_key($tainted, $this->validators)) { |
79 | 79 | $this->fireException( |
80 | - new Exception('Unknown input item(s): ' . implode(array_keys($diff), ', ')) |
|
80 | + new Exception('Unknown input item(s): '.implode(array_keys($diff), ', ')) |
|
81 | 81 | ); |
82 | 82 | } |
83 | 83 |