$this->nodeInstanceByValue($value) of type Mbh\Tree\Traits\Node is incompatible with the type Mbh\Tree\Interfaces\Node expected by parameter $child of Mbh\Tree\Interfaces\Node::addChild().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
$node of type Mbh\Tree\Traits\Node is incompatible with the type Mbh\Tree\Interfaces\Node expected by parameter $child of Mbh\Tree\Interfaces\Node::addChild().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
$node of type Mbh\Tree\Traits\Node is incompatible with the type Mbh\Tree\Interfaces\Node expected by parameter $node of Mbh\Tree\Traits\Builder::pushNode().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation