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

Method Illuminate\Contracts\Validation\Validator::validateWithBag does not exist #192

Open
vanthao03596 opened this issue Jul 20, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@vanthao03596
Copy link

Describe the bug
When run ./vendor/bin/psalm i have this error

Impacted Versions
barryvdh/laravel-debugbar v3.6.2
barryvdh/laravel-ide-helper v2.9.1
fruitcake/laravel-cors v2.0.4
laravel/fortify v1.7.14
laravel/framework v8.50.0
laravel/sail v1.8.6
laravel/tinker v2.6.1
psalm/plugin-laravel v1.5.0
spatie/laravel-ray 1.23.0
vimeo/psalm 4.8.1

@vanthao03596 vanthao03596 added the bug Something isn't working label Jul 20, 2021
@vanthao03596
Copy link
Author

More infomation: Error show in UpdateUserPassword.php and UpdateUserProfileInformation.php from laravel/fortify

@alies-dev
Copy link
Collaborator

I don't think this is a Psalm issue this interface rally doesn't have this method. We can try to guess how this interface will be resolved (and will be right probably in 99% cases), but it's even possible to re-bind it in a runtime, so, I prefer to keep it simple and don't try to guess the real type. WDYT, @mr-feek ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants