Skip to content

Missing phpdoc comment in alsoknow() method #297

@jcvignoli

Description

@jcvignoli

Just found out that method alsoknow() in title.php is missing in its phpdoc comment the "comment" (singular) variable in @return line 1175.
This line
* @return array<array{title: string, country: string, countryCode: string|null, language: string, languageCode: string|null, comments: string[]}>
should be replaced by
* @return array<array{title: string, country: string, countryCode: string|null, language: string, languageCode: string|null, comment: string, comments: string[]}>
I added "comment: string, ".
It is necessary for projects using imdbphp and phpstan.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions