The type hint states `array`, yet here it is `null`