Fix return value according phpDoc