From b359da6b04b4d882f871b5eb5e425f1c429dc392 Mon Sep 17 00:00:00 2001 From: rafaucau Date: Wed, 4 Dec 2024 09:40:53 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Repositories/PolicyRepository.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Repositories/PolicyRepository.php b/src/Repositories/PolicyRepository.php index 11bf239..8bb673e 100644 --- a/src/Repositories/PolicyRepository.php +++ b/src/Repositories/PolicyRepository.php @@ -84,6 +84,7 @@ public function state(User $user) $optional = $policy->optional; /** * @var bool $is_accepted + * * @phpstan-ignore-next-line Access to an undefined property FoF\Terms\Policy::$pivot */ $is_accepted = $userPolicies->has($policy->id) ? $userPolicies->get($policy->id)->pivot->is_accepted : false;