diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 17b626ff..c7fef7e6 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -292,7 +292,7 @@ parameters: - message: "#^Cannot access offset mixed on Ibexa\\\\Contracts\\\\Rest\\\\Input\\\\Parser\\.$#" - count: 2 + count: 1 path: src/contracts/Input/ParsingDispatcher.php - @@ -740,16 +740,6 @@ parameters: count: 1 path: src/lib/Input/Parser/ContentObjectStates.php - - - message: "#^Instantiated class Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\User\\\\Limitation\\\\SiteaccessLimitation not found\\.$#" - count: 1 - path: src/lib/Input/ParserTools.php - - - - message: "#^Method Ibexa\\\\Rest\\\\Input\\\\ParserTools\\:\\:getLimitationByIdentifier\\(\\) should return Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\User\\\\Limitation but returns Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\User\\\\Limitation\\\\SiteaccessLimitation\\.$#" - count: 1 - path: src/lib/Input/ParserTools.php - - message: "#^Method Ibexa\\\\Rest\\\\Input\\\\ParserTools\\:\\:isEmbeddedObject\\(\\) has parameter \\$objectElement with no value type specified in iterable type array\\.$#" count: 1 diff --git a/src/lib/Input/ParserTools.php b/src/lib/Input/ParserTools.php index edca18d1..3c92bbb4 100644 --- a/src/lib/Input/ParserTools.php +++ b/src/lib/Input/ParserTools.php @@ -17,7 +17,7 @@ use Ibexa\Contracts\Core\Repository\Values\User\Limitation\ParentOwnerLimitation; use Ibexa\Contracts\Core\Repository\Values\User\Limitation\ParentUserGroupLimitation; use Ibexa\Contracts\Core\Repository\Values\User\Limitation\SectionLimitation; -use Ibexa\Contracts\Core\Repository\Values\User\Limitation\SiteaccessLimitation; +use Ibexa\Contracts\Core\Repository\Values\User\Limitation\SiteAccessLimitation; use Ibexa\Contracts\Core\Repository\Values\User\Limitation\SubtreeLimitation; use Ibexa\Contracts\Core\Repository\Values\User\Limitation\UserGroupLimitation; use Ibexa\Contracts\Rest\Exceptions;