We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6216d5 commit 99f40cdCopy full SHA for 99f40cd
src/SelectboxTree.php
@@ -79,7 +79,7 @@ public function setMaxDepth(int $maxDepth): void
79
{
80
if ($maxDepth < 1) {
81
$maxDepth = 1;
82
- } elseif ($maxDepth > 1000) {
+ } elseif ($maxDepth > 1_000) {
83
throw new \InvalidArgumentException('Max depth "' . $maxDepth . '" is too big. Maximum value is 1000.');
84
}
85
$this->maxDepth = $maxDepth;
0 commit comments