@@ -67,7 +67,7 @@ |
||
| 67 | 67 | |
| 68 | 68 | // Validate object and send problem response on failure. |
| 69 | 69 | if ($config->validate() && count($violations = $this->validator->validate($object))) { |
| 70 | - $event->setController(function () use ($violations) { |
|
| 70 | + $event->setController(function() use ($violations) { |
|
| 71 | 71 | return $this->errorResponse($violations); |
| 72 | 72 | }); |
| 73 | 73 | } |