Completed
Push — master ( 764933...91ec5f )
by Igor
02:24
created
src/Model/DynamicRoute.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,13 +56,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.