Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Geolim4 opened this issue Mar 27, 2022 · 0 comments
Open

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

Geolim4 opened this issue Mar 27, 2022 · 0 comments

Comments

@Geolim4
Copy link

Geolim4 commented Mar 27, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant