type mismatch? Method signature says `array`, docblock says `boolean`