diff --git a/src/Repositories/FieldRepository.php b/src/Repositories/FieldRepository.php index 26bb84c..7cb882a 100644 --- a/src/Repositories/FieldRepository.php +++ b/src/Repositories/FieldRepository.php @@ -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); }