Skip to content

Commit 70cd985

Browse files
committed
Reset \Ibexa\Contracts\Core\Limitation\Type::valueSchema()
Too difficult to solve in this PR
1 parent b1ede48 commit 70cd985

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/contracts/Limitation/Type.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,9 @@ public function getCriterion(APILimitationValue $value, APIUserReference $curren
143143
/**
144144
* Returns info on valid $limitationValues.
145145
*
146-
* @return array<string, string>|Traversable|int In case of array, a hash with key as valid limitations value and value as human-readable name
147-
* of that option. Note: The hash might be an instance of Traversable instead of a native PHP array.
148-
* In case of int, one of VALUE_SCHEMA_* constants. Used in cases where a certain value is accepted
149-
* but the options are too many to return as a hash of options.
146+
* @return mixed[]|int In case of array, a hash with key as valid limitations value and value as human readable name
147+
* of that option, in case of int on of VALUE_SCHEMA_* constants.
148+
* Note: The hash might be an instance of Traversable, and not a native php array.
150149
*/
151150
public function valueSchema();
152151
}

0 commit comments

Comments
 (0)