@@ -17,8 +17,8 @@ discard block |
||
17 | 17 | */ |
18 | 18 | protected static function bootCascadeSoftDeletes() |
19 | 19 | { |
20 | - static::deleting(function ($model) { |
|
21 | - if (! $model->implementsSoftDeletes()) { |
|
20 | + static::deleting(function($model) { |
|
21 | + if (!$model->implementsSoftDeletes()) { |
|
22 | 22 | throw new RuntimeException(sprintf( |
23 | 23 | '%s does not implement Illuminate\Database\Eloquent\SoftDeletes', |
24 | 24 | get_called_class() |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | } |
27 | 27 | |
28 | 28 | foreach ($model->cascadeDeletes as $relationship) { |
29 | - if (! $model->{$relationship}() instanceof Relation) { |
|
29 | + if (!$model->{$relationship}() instanceof Relation) { |
|
30 | 30 | throw new LogicException(sprintf( |
31 | 31 | 'Relationship [%s] must return an object of type %s', |
32 | 32 | $relationship, |