-
Notifications
You must be signed in to change notification settings - Fork 86
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
Scrutinizer and data types #125
Comments
Hey @pavarnos , You have already found the problem. Aura.SqlQuery/src/QueryFactory.php Line 191 in dd81b57
The |
OK. What should the return type be? |
@pavarnos @return Common\SelectInterface|Common\InsertInterface|Common\UpdateInterface|Common\DeleteInterface
|
@pavarnos if you have time, do send a PR. Else I will look sending one. Thank you. |
Sorry I have no time. As @harikt showed above I think it is a one line fix
|
PR : #135 |
So i've been fiddling with Scrutinizer a bit. Got an interesting message I don't know how to resolve.
where $this->database is an instance of
Seems like Scrutinizer is looking through the
@return
type declaration of AurasnewUpdate()
to the@return
type declaration ofnewInstance('Update')
.Is this a scrutiniser problem or something Aura can fix by changing type declarations?
The text was updated successfully, but these errors were encountered: