Completed
Pull Request — master (#4212)
by
unknown
02:26
created
src/Form.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -569,20 +569,20 @@
 block discarded – undo
569 569
         $relations = [];
570 570
 
571 571
         foreach ($inputs as $column => $value) {
572
-			if (method_exists($this->model, $column)) {
573
-				$relation = call_user_func([$this->model, $column]);
574
-
575
-				if ($relation instanceof Relations\Relation) {
576
-					$relations[$column] = $value;
577
-				}
578
-			} elseif (method_exists($this->model, \Illuminate\Support\Str::camel($column))) {
579
-				$column = \Illuminate\Support\Str::camel($column);
580
-				$relation = call_user_func([$this->model, $column]);
581
-
582
-				if ($relation instanceof Relations\Relation) {
583
-					$relations[$column] = $value;
584
-				}
585
-			}
572
+            if (method_exists($this->model, $column)) {
573
+                $relation = call_user_func([$this->model, $column]);
574
+
575
+                if ($relation instanceof Relations\Relation) {
576
+                    $relations[$column] = $value;
577
+                }
578
+            } elseif (method_exists($this->model, \Illuminate\Support\Str::camel($column))) {
579
+                $column = \Illuminate\Support\Str::camel($column);
580
+                $relation = call_user_func([$this->model, $column]);
581
+
582
+                if ($relation instanceof Relations\Relation) {
583
+                    $relations[$column] = $value;
584
+                }
585
+            }
586 586
 
587 587
         }
588 588
         
Please login to merge, or discard this patch.