@@ -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 | } |
@@ -171,7 +171,7 @@ |
||
171 | 171 | $this->setupDefaultOptions(); |
172 | 172 | |
173 | 173 | if (!empty($this->value)) { |
174 | - $this->attribute('data-initial-preview', filter_var($this->preview(),FILTER_VALIDATE_URL)); |
|
174 | + $this->attribute('data-initial-preview', filter_var($this->preview(), FILTER_VALIDATE_URL)); |
|
175 | 175 | $this->attribute('data-initial-caption', $this->initialCaption($this->value)); |
176 | 176 | |
177 | 177 | $this->setupPreviewOptions(); |