Skip to content

Commit ffb936b

Browse files
committed
Merge branch '9.4.0' of github.com:BinarCode/laravel-restify into 9.4.0
2 parents 22a2276 + 5ecd1a5 commit ffb936b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Fields/Field.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ public function label($label)
589589
public function serializeToValue($request)
590590
{
591591
return [
592-
$this->label ?? $this->attribute => $this->value ?? $this->resolveDefaultValue($request),
592+
$this->label ?? $this->attribute => $this->value ?? $this->resolveDefaultValue($request),
593593
];
594594
}
595595

@@ -605,7 +605,6 @@ public function default($callback)
605605
return $this;
606606
}
607607

608-
609608
/**
610609
* Resolve the default value for the field.
611610
*

0 commit comments

Comments
 (0)