-
-
Notifications
You must be signed in to change notification settings - Fork 605
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
Incorrect annotations #41
Comments
If you would like, I can fix this and submit a pull-request - but I need to know which is your preference, the fully-qualified type-referenced with leading |
I should perhaps have explained that the reason this doesn't work for me, is because your code throws up long lists of inspection warnings in PhpStorm. |
Hi @mindplay-dk, sorry I kind of let this one fall behind. If you could send in a pull request, I'd greatly appreciate it; iif you're not able to, however, I'll look into it until the end of this week. Thanks a ton for the help! |
I'd be happy to help, but still need an answer to the question above - |
@mindplay-dk I think it'll be better to use |
Quick note for the function you mentioned @mindplay-dk. The typehint for that should actually be |
Some of the annotation are incorrectly namespaced, and can't be interpreted by e.g. PhpStorm, where long lists of warnings are generated while running inspections.
https://github.com/filp/whoops/blob/master/src/Whoops/Run.php#L31
Should read:
Or add a
use
clause forWhoops\Run
and you can cut it down to:The text was updated successfully, but these errors were encountered: