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
The docs and the source code states you are able to pass things like width('>= 500') as a parameter to the function https://github.com/craftcms/cms/blob/develop/src/elements/db/AssetQuery.php#L117.
width('>= 500')
But the function is
public function width(int $value = null) // <-- the int will disallow strings thus `>=` is invalid { $this->width = $value; return $this; }
>= 500 cant't be converted to integer
The text was updated successfully, but these errors were encountered:
e66fb33
Thanks for pointing that out! Fixed for tomorrow’s release.
Sorry, something went wrong.
No branches or pull requests
Description
The docs and the source code states you are able to pass things like
width('>= 500')
as a parameter to the function https://github.com/craftcms/cms/blob/develop/src/elements/db/AssetQuery.php#L117.But the function is
Steps to reproduce
>= 500 cant't be converted to integer
The text was updated successfully, but these errors were encountered: