Closed
Description
Now it is:
throw new \OutOfBoundsException(sprintf(
self::MAX_LEVEL_DEPTH,
"Administrative level should be an integer in [1,%d], %d given",
$level
));
//Output: 5
It should be:
throw new \OutOfBoundsException(sprintf(
"Administrative level should be an integer in [1,%d], %d given",
self::MAX_LEVEL_DEPTH,
$level
));
//Output: Administrative level should be an integer in [1,5], 6 given