It seems like $node can also be of type null; however, parameter $input of dlindberg\BlobChunk\Mana...Node::isPairSideBNode() does only seem to accept DOMNode, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
32
if ($this->manager->isPairSideBNode(/** @scrutinizer ignore-type */ $node)) {
It seems like $node can also be of type null; however, parameter $node of dlindberg\BlobChunk\Parser\BaseParser::stringify() does only seem to accept DOMNode, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
It seems like $node can also be of type null; however, parameter $input of dlindberg\BlobChunk\Mana...Node::isPairSideANode() does only seem to accept DOMNode, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
35
if ($this->manager->isPairSideANode(/** @scrutinizer ignore-type */ $node)) {