Skip to content

Wrong PHP Doc generated for Models with primitive collection properties #1024

Closed

Description

Functions getUserIds and setUserIds are getting and setting arrays, but the PHPDocs type suggests it's of type string. This causes IDE (such as PHPStorm) to throws error on code analysis.

Reported by Ondřej Vacek (@andrewvaca)

Activity

  1. Ndiritu commented on Oct 6, 2022

    @Ndiritu
    ContributorAuthor

    Fixed in latest release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions