Skip to content

Commit

Permalink
Merged branch '4.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Feb 28, 2024
2 parents 61d0381 + 83c4e50 commit 453fd98
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -34495,11 +34495,6 @@ parameters:
count: 1
path: tests/integration/Core/Repository/LocationServiceTest.php

-
message: "#^Cannot access property \\$id on Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Location\\|false\\.$#"
count: 1
path: tests/integration/Core/Repository/LocationServiceTest.php

-
message: "#^Cannot access property \\$id on Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Location\\|null\\.$#"
count: 11
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Limitation/RoleLimitationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function acceptValue(APILimitationValue $limitationValue): void

foreach ($limitationValue->limitationValues as $key => $id) {
if (!is_int($id)) {
throw new InvalidArgumentType("\$limitationValue->limitationValues[{$key}]", 'int|string', $id);
throw new InvalidArgumentType("\$limitationValue->limitationValues[{$key}]", 'int', $id);
}
}
}
Expand Down

0 comments on commit 453fd98

Please sign in to comment.