$this of type DH\Adf\Builder\OrderedListBuilder is incompatible with the type DH\Adf\Node\BlockNode|null expected by parameter $parent of DH\Adf\Node\Block\OrderedList::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
15
$block = new OrderedList(1, /** @scrutinizer ignore-type */ $this);
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.