-
-
Notifications
You must be signed in to change notification settings - Fork 410
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
view-string
not behaving as expected
#1607
Comments
We should have more tests. |
So, are you saying it isn't working as expected? |
Larastan checks Could you try with |
I do not understand how it works. I'm just a janitor 🧹 |
Same result 😕 |
While working on my implementation on In public function acceptsWithReason(Type $type, bool $strictTypes): AcceptsResult
{
if ($type instanceof self) {
return AcceptsResult::createYes();
}
// ... Components such as the A possible solution is to implement the logic that currently lives in |
I believe this was fixed in newer releases. Thank you! |
--level
used: 9Description
Perhaps I am not understanding correctly how this should work, but from what I have read, if I do something like...
...Larastan should pick this up an throw an error because the view does not exist.
This doesn't seem to be the case.
I tested this with a fresh installation of Laravel 10 and the latest version of Larastan and no errors are reported when a view is missing.
I'm sure this worked as expected in earlier versions of Larastan.
2.2.7
is what we have just upgraded from.Or have I misunderstood how the
view-string
type works?Thanks
The text was updated successfully, but these errors were encountered: