Skip to content

Missing type @return \ArangoDBClient\AdminHandler::getServerVersion  #293

Open
@Geolim4

Description

@Geolim4

I get a phpstan analysis error when calling \ArangoDBClient\AdminHandler::getServerVersion(true), expecting an array returned but the annotation @return has a missing type.

Replace:

     * @return string - a string holding the ArangoDB version

By

     * @return string|array - A string holding the ArangoDB version or an array of the full server info if $details is true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions