Skip to content

Commit 4ba62ab

Browse files
authored
Merge pull request z-song#4217 from z-song/analysis-gOadPQ
Apply fixes from StyleCI
2 parents 14cc6b8 + 753555d commit 4ba62ab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Form.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -570,16 +570,15 @@ protected function getRelationInputs($inputs = []): array
570570

571571
foreach ($inputs as $column => $value) {
572572
if (method_exists($this->model, $column) ||
573-
method_exists($this->model, $column = Str::camel($column)))
574-
{
573+
method_exists($this->model, $column = Str::camel($column))) {
575574
$relation = call_user_func([$this->model, $column]);
576575

577576
if ($relation instanceof Relations\Relation) {
578577
$relations[$column] = $value;
579578
}
580579
}
581580
}
582-
581+
583582
return $relations;
584583
}
585584

0 commit comments

Comments
 (0)