Skip to content

Commit

Permalink
Merge branch 'prepare-phpstan' of github.com:conedevelopment/root int…
Browse files Browse the repository at this point in the history
…o prepare-phpstan
  • Loading branch information
szepeviktor committed Oct 25, 2023
2 parents 0e5e5e1 + 9b34faf commit 2e05b5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Fields/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ public function toOption(Request $request, Model $model, Model $related): array

$option['attrs']->merge(['name' => $name]);

/** @var \Cone\Root\Models\Medium $related */

return array_merge($option, [
'fileName' => $related->file_name,
'isImage' => $related->isImage,
Expand Down

0 comments on commit 2e05b5b

Please sign in to comment.