@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | public function withPermission() |
80 | 80 | { |
81 | - return (bool)config('admin.menu_bind_permission'); |
|
81 | + return (bool) config('admin.menu_bind_permission'); |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | { |
91 | 91 | static::treeBoot(); |
92 | 92 | |
93 | - static::deleting(function ($model) { |
|
93 | + static::deleting(function($model) { |
|
94 | 94 | $model->roles()->detach(); |
95 | 95 | }); |
96 | 96 | } |