@@ -39,7 +39,7 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function __construct() |
| 41 | 41 | { |
| 42 | - $this->onException(function (\Exception $exception) { |
|
| 42 | + $this->onException(function(\Exception $exception) { |
|
| 43 | 43 | throw new Exception(sprintf($this->exceptionMessage, $exception->getMessage()), 0, $exception); |
| 44 | 44 | }); |
| 45 | 45 | } |
@@ -82,7 +82,7 @@ |
||
| 82 | 82 | |
| 83 | 83 | if (!$this->ignoreUnknown && $diff = array_diff_key($tainted, $this->validators)) { |
| 84 | 84 | $this->fireException( |
| 85 | - new Exception('Unknown input item(s): ' . implode(array_keys($diff), ', ')) |
|
| 85 | + new Exception('Unknown input item(s): '.implode(array_keys($diff), ', ')) |
|
| 86 | 86 | ); |
| 87 | 87 | } |
| 88 | 88 | |