Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryk authored and actions-user committed Nov 17, 2021
1 parent 648f424 commit 7534c1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Fields/FieldCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ public function findFieldByAttribute($attribute, $default = null)
public function inRequest(RestifyRequest $request, $row = null): self
{
return $this
->filter(fn (Field $field) =>
->filter(
fn (Field $field) =>
$request->hasAny($field->attribute, $row.'.'.$field->attribute)
|| $request->hasFile($field->attribute)
)
Expand Down

0 comments on commit 7534c1d

Please sign in to comment.