Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Oct 25, 2023
1 parent 2e05b5b commit 391ff93
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Fields/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ protected function prune(Request $request, Model $model, array $keys): int
public function toOption(Request $request, Model $model, Model $related): array
{
/** @var \Cone\Root\Models\Medium $related */

$option = parent::toOption($request, $model, $related);

$name = sprintf(
Expand Down
1 change: 0 additions & 1 deletion src/Fields/Meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public function __construct(string $label, string $modelAttribute = null, Closur
{
$relation ??= function (Model $model): EloquentRelation {
/** @phpstan-var \Tests\MetaDataModel $model */

$related = $model->metaData()->getRelated();

return $model->metaData()
Expand Down

0 comments on commit 391ff93

Please sign in to comment.