diff --git a/src/Model/Tree/TreeNodeMethodsTrait.php b/src/Model/Tree/TreeNodeMethodsTrait.php index e195838f..0bbc9342 100644 --- a/src/Model/Tree/TreeNodeMethodsTrait.php +++ b/src/Model/Tree/TreeNodeMethodsTrait.php @@ -268,10 +268,7 @@ public function offsetUnset(mixed $offset): void unset($this->getChildNodes()[$offset]); } - /** - * @return mixed - */ - public function offsetGet(mixed $offset) + public function offsetGet(mixed $offset): mixed { return $this->getChildNodes()[$offset]; }