It seems like $collection->atPosition($line - 1, $column) can also be of type array; however, parameter $top of Knp\FriendlyContexts\Table\Node::setTop() does only seem to accept Knp\FriendlyContexts\Table\Node|null, 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 $collection->atPosition($line + 1, $column) can also be of type array; however, parameter $bottom of Knp\FriendlyContexts\Table\Node::setBottom() does only seem to accept Knp\FriendlyContexts\Table\Node|null, 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 $collection->atPosition($line, $column - 1) can also be of type array; however, parameter $left of Knp\FriendlyContexts\Table\Node::setLeft() does only seem to accept Knp\FriendlyContexts\Table\Node|null, 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