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

feat: support sole method #822

Merged
merged 2 commits into from
Apr 22, 2021
Merged

feat: support sole method #822

merged 2 commits into from
Apr 22, 2021

Conversation

ThibaudDauce
Copy link
Contributor

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

Changes

Add support for the sole method on Laravel 8.

(sorry I did something wrong and it auto-close the previous PR… Don't really know why…)

@ThibaudDauce ThibaudDauce mentioned this pull request Apr 22, 2021
3 tasks
@ThibaudDauce
Copy link
Contributor Author

@canvural As I was expected the sole presence of the docblock on the other versions is failing the tests.

@canvural
Copy link
Collaborator

Ah, you are right. I totally forgot about that. I'm sorry!

Ok then let's remove it and hope PHPStan merges definitions from stubs and actual method reflections 😄

@szepeviktor
Copy link
Collaborator

szepeviktor commented Apr 22, 2021

hope PHPStan merges definitions from stubs and actual method reflections

Stubs are there specifically to overwrite - potentially incorrect - PHPDoc blocks in the source code.

@canvural canvural merged commit 66b4ca1 into larastan:master Apr 22, 2021
@canvural
Copy link
Collaborator

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.

3 participants