It seems like $this->defender can also be of type null; however, parameter $defender of Stratadox\CardGame\Match...ckTheAttacker::number() does only seem to accept integer, 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 $this->player can also be of type null; however, parameter $player of Stratadox\CardGame\Match...ckTheAttacker::number() does only seem to accept integer, 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 $this->match can also be of type null; however, parameter $match of Stratadox\CardGame\Match...ckTheAttacker::number() does only seem to accept Stratadox\CardGame\Match\MatchId, 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