I dont think the spaces are needed (a single one after "return array" suffices):

    @return array An array of Hash::extract() compatible paths