Completed
Branch master (97de90)
by Michael
03:34
created
Category
src/CascadeSoftDeletes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.