Completed
Pull Request — master (#3478)
by
unknown
02:40
created
src/Grid/Filter/Presenter/Select.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,8 +136,9 @@
 block discarded – undo
136 136
                 $resources[] = $value;
137 137
             }
138 138
 
139
-            if (in_array(SoftDeletes::class,class_uses_deep($model)))
140
-                $model = $model::withTrashed();
139
+            if (in_array(SoftDeletes::class,class_uses_deep($model))) {
140
+                            $model = $model::withTrashed();
141
+            }
141 142
 
142 143
             return $model::find($resources)->pluck($textField, $idField)->toArray();
143 144
         };
Please login to merge, or discard this patch.