From 8aadd0431a4b93592eacc49079d363765996f3c0 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Fri, 20 Dec 2024 17:15:29 +0100 Subject: [PATCH] `Limitation\Type`: type array keys --- src/contracts/Limitation/Type.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/contracts/Limitation/Type.php b/src/contracts/Limitation/Type.php index cb5410d705..584cba60e1 100644 --- a/src/contracts/Limitation/Type.php +++ b/src/contracts/Limitation/Type.php @@ -92,17 +92,17 @@ public function acceptValue(APILimitationValue $limitationValue); * * @param \Ibexa\Contracts\Core\Repository\Values\User\Limitation $limitationValue * - * @return \Ibexa\Contracts\Core\FieldType\ValidationError[] + * @return array */ public function validate(APILimitationValue $limitationValue); /** * Create the Limitation Value. * - * The is the method to create values as Limitation type needs value knowledge anyway in acceptValue, + * This is the method to create values as Limitation type needs value knowledge anyway in acceptValue, * the reverse relation is provided by means of identifier lookup (Value has identifier, and so does RoleService). * - * @param mixed[] $limitationValues + * @param array $limitationValues * * @return \Ibexa\Contracts\Core\Repository\Values\User\Limitation */ @@ -120,7 +120,7 @@ public function buildValue(array $limitationValues); * @param \Ibexa\Contracts\Core\Repository\Values\User\Limitation $value * @param \Ibexa\Contracts\Core\Repository\Values\User\UserReference $currentUser * @param \Ibexa\Contracts\Core\Repository\Values\ValueObject $object - * @param \Ibexa\Contracts\Core\Repository\Values\ValueObject[]|null $targets An array of location, parent or "assignment" + * @param array|null $targets An array of location, parent or "assignment" * objects, if null: none where provided by caller * * @return bool|null Returns one of ACCESS_* constants, {@see Type::ACCESS_GRANTED}, {@see Type::ACCESS_ABSTAIN}, or {@see Type::ACCESS_DENIED}.