arangodb-php icon indicating copy to clipboard operation
arangodb-php copied to clipboard

Missing type @return \ArangoDBClient\AdminHandler::getServerVersion

Open Geolim4 opened this issue 3 years ago • 0 comments
trafficstars

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

Geolim4 avatar Mar 27 '22 12:03 Geolim4