We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
\Zendesk\API\Resources\Core\Search::find parameter $query has the type annotation null while it should clearly be string:
$query
null
string
zendesk_api_client_php/src/Zendesk/API/Resources/Core/Search.php
Line 32 in 13f0c1f
I came across this while validating a project with PHPStan.
The text was updated successfully, but these errors were encountered:
Hit this one while running PHPStan also. Quick fix is to add a line like this to phpstan.neon.dist in the ignoreErrors segment:
phpstan.neon.dist
ignoreErrors
ignoreErrors: - '#Parameter \#1 \$query of method Zendesk\\API\\Resources\\Core\\Search::find\(\) expects null, string given.#'
Proper fix, of course, is to change * @param null $query to * @param string $query as mentioned.
* @param null $query
* @param string $query
Sorry, something went wrong.
Just popped through PR #486 for this one.
3f8ea88
Merge pull request #486 from pointybeard-forks/master
21ed86a
fix: Incorrect DocBlock param type for $query (closes #462).
No branches or pull requests
\Zendesk\API\Resources\Core\Search::find parameter
$query
has the type annotationnull
while it should clearly bestring
:zendesk_api_client_php/src/Zendesk/API/Resources/Core/Search.php
Line 32 in 13f0c1f
I came across this while validating a project with PHPStan.
The text was updated successfully, but these errors were encountered: