arangodb-php
arangodb-php copied to clipboard
Missing type @return \ArangoDBClient\AdminHandler::getServerVersion
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