We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14cc6b8 commit 753555dCopy full SHA for 753555d
src/Form.php
@@ -570,16 +570,15 @@ protected function getRelationInputs($inputs = []): array
570
571
foreach ($inputs as $column => $value) {
572
if (method_exists($this->model, $column) ||
573
- method_exists($this->model, $column = Str::camel($column)))
574
- {
+ method_exists($this->model, $column = Str::camel($column))) {
575
$relation = call_user_func([$this->model, $column]);
576
577
if ($relation instanceof Relations\Relation) {
578
$relations[$column] = $value;
579
}
580
581
582
-
+
583
return $relations;
584
585
0 commit comments