-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
TASK: Phpstan match
on class dont /** @phpstan-ignore-next-line */
#4354
Comments
@grebaldi wrote
edit, that wouldnt explain the phpstan ignore annotation above, but maybe phpstand got smarter? |
A few cases have been cleaned up here: #4455 (comment) |
I tried to fix these matches with #4643 but it turns out that there is no easy way around this. The command handler are a dynamic construct in regards to One could use generics to tell the command handler in its template that it can only handle those commands and thus narrow the type of the |
see
neos-development-collection/Neos.ContentRepository.Core/Classes/Feature/NodeAggregateCommandHandler.php
Lines 115 to 119 in 88cb1fd
/** @phpstan-ignore-next-line */
the code. Which is cruel.This issue came up again in #4349 (comment)
The text was updated successfully, but these errors were encountered: