diff --git a/src/Repositories/PolicyRepository.php b/src/Repositories/PolicyRepository.php index 8bb673e..224beb9 100644 --- a/src/Repositories/PolicyRepository.php +++ b/src/Repositories/PolicyRepository.php @@ -61,7 +61,7 @@ public function clearCache() public function findOrFail(string $id): Policy { - /** @phpstan-ignore-next-line Method FoF\Terms\Repositories\PolicyRepository::findOrFail() should return FoF\Terms\Policy but returns Illuminate\Database\Eloquent\Model. */ + /** @phpstan-ignore-next-line Method FoF\Terms\Repositories\PolicyRepository::findOrFail() should return FoF\Terms\Policy but returns Illuminate\Database\Eloquent\Model. */ return $this->policy->newQuery()->findOrFail($id); }