@@ -78,7 +78,7 @@ |
||
78 | 78 | { |
79 | 79 | static::treeBoot(); |
80 | 80 | |
81 | - static::deleting(function ($model) { |
|
81 | + static::deleting(function($model) { |
|
82 | 82 | $model->roles()->detach(); |
83 | 83 | }); |
84 | 84 | } |
@@ -404,7 +404,7 @@ |
||
404 | 404 | $this->rules = implode('|', $rules); |
405 | 405 | } |
406 | 406 | |
407 | - if(is_array($rules)) { |
|
407 | + if (is_array($rules)) { |
|
408 | 408 | $this->rules = $rules; |
409 | 409 | } |
410 | 410 |