@@ -56,13 +56,13 @@ |
||
56 | 56 | public function save(array $options = []) |
57 | 57 | { |
58 | 58 | $validator = Validator::make($this->toArray(), self::$validation); |
59 | - if($validator->fails()) { |
|
59 | + if ($validator->fails()) { |
|
60 | 60 | throw BasicValidationFailedForRouteException::fromRoute($this); |
61 | 61 | } |
62 | - if(RouteHandlerResolver::handlerExists($this->handler) === false) { |
|
62 | + if (RouteHandlerResolver::handlerExists($this->handler) === false) { |
|
63 | 63 | throw HandlerNotFoundException::fromIdentifier($this->handler); |
64 | 64 | } |
65 | - if(RouteHandlerResolver::getInstance($this->handler)->isValid($this) === false) { |
|
65 | + if (RouteHandlerResolver::getInstance($this->handler)->isValid($this) === false) { |
|
66 | 66 | throw HandlerValidationFailedForRouteException::fromRoute($this); |
67 | 67 | } |
68 | 68 |