$array of type Traversable&Mbh\Collecti...\Sequenceable\Countable is incompatible with the type Countable|array expected by parameter $var of count().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
46
$sfa = new SplFixedArray(count(/** @scrutinizer ignore-type */ $array));