Skip to content

Commit

Permalink
chore: fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Aug 9, 2024
1 parent 5a2f683 commit 2dcc828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repositories/FieldRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function clearCacheAllFields()
$this->cache->forget(static::CACHE_KEY_ALL_FIELDS);
}

public function findOrFail(string $id): Field
public function findOrFail(string $id)
{
return $this->field->newQuery()->findOrFail($id);
}
Expand Down

0 comments on commit 2dcc828

Please sign in to comment.