Skip to content

Commit

Permalink
Fix PHPStan (PHP8.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometee committed Apr 29, 2024
1 parent aefb6c1 commit fbbabb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ 8.0, 8.3 ]
php: [ 8.1, 8.3 ]
symfony: [ ^5.4, ^6.4 ]

steps:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.0, 8.3]
php: [8.1, 8.3]
symfony: [^5.4, ^6.4]
sylius: [~1.12.0, ~1.13.0]
node: [18.x]
Expand Down
1 change: 1 addition & 0 deletions src/Checker/DefaultEligibilityChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public function check(
AddressInterface $taxationAddress,
ChannelInterface $channel,
): bool {
/** @var VatRateEligibilityCheckerInterface $checker */
foreach ($this->checkers as $checker) {
if (false === $checker->check($taxationAddress, $channel)) {
return false;
Expand Down

0 comments on commit fbbabb7

Please sign in to comment.