Skip to content

Commit bd4475f

Browse files
committed
Revert src/lib/Limitation/
Revert 1799d56 changes on src/lib/Limitation/ as this is out of contracts scope.
1 parent 1cdc9c4 commit bd4475f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/lib/Limitation/LocationLimitationType.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,10 @@ public function getCriterion(APILimitationValue $value, APIUserReference $curren
224224
}
225225

226226
/**
227-
* Returns an integer code meaning that the value must be an array listing location IDs.
227+
* Returns info on valid $limitationValues.
228228
*
229-
* @return int {@see LocationLimitationType::VALUE_SCHEMA_LOCATION_ID}
229+
* @return mixed[]|int In case of array, a hash with key as valid limitations value and value as human readable name
230+
* of that option, in case of int on of VALUE_SCHEMA_ constants.
230231
*/
231232
public function valueSchema()
232233
{

src/lib/Limitation/SubtreeLimitationType.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,10 @@ public function getCriterion(APILimitationValue $value, APIUserReference $curren
258258
}
259259

260260
/**
261-
* Returns an integer code meaning that the value must be an array listing location paths.
261+
* Returns info on valid $limitationValues.
262262
*
263-
* @return int {@see SubtreeLimitationType::VALUE_SCHEMA_LOCATION_PATH}
263+
* @return mixed[]|int In case of array, a hash with key as valid limitations value and value as human readable name
264+
* of that option, in case of int on of VALUE_SCHEMA_ constants.
264265
*/
265266
public function valueSchema()
266267
{

0 commit comments

Comments
 (0)