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

fix: correct parameter type for where, orWhere and addArrayOfWheres in stubs #651

Merged
merged 3 commits into from
Sep 3, 2020

Conversation

Daanra
Copy link
Contributor

@Daanra Daanra commented Sep 3, 2020

  • Added or updated tests
  • Documented user facing changes
  • Updated CHANGELOG.md

Changes

Updates the QueryBuilder stubs such that the following expression does not result in an error:

return User::where([
        ['active', true],
        ['id', '>=', 5],
        ['id', '<=', 10]
])->get();

@canvural canvural changed the title Correct query stubs fix: correct parameter type for where, orWhere and addArrayOfWheres in stubs Sep 3, 2020
@canvural canvural merged commit 86f2e74 into larastan:master Sep 3, 2020
@canvural
Copy link
Collaborator

canvural commented Sep 3, 2020

Thank you!

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

Successfully merging this pull request may close these issues.

None yet

2 participants