Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaucau authored and StyleCIBot committed Dec 4, 2024
1 parent 1ffbb18 commit b359da6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Repositories/PolicyRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b359da6

Please sign in to comment.