-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Correctly types $event property as ?EventFeature\TableGatewayEvent instead of null #304
Conversation
Correctly types $event property to EventInterface instead of just null Signed-off-by: Joey Smith <jsmith@webinertia.net> Signed-off-by: Joey Smith <jsmith@webinertia.net>
@@ -23,7 +24,7 @@ class EventFeature extends AbstractFeature implements | |||
/** @var EventManagerInterface */ | |||
protected $eventManager; | |||
|
|||
/** @var null */ | |||
/** @var ?EventInterface */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EventFeature\TableGatewayEvent
, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea, I suppose it should be limited to TableGatewayEvent. Im currently adding a custom feature is when I noticed it. But since this is focused on the EventFeature it should be the narrower TableGatewayEvent. Will update here in just a second.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
Signed-off-by: Joey Smith <jsmith@webinertia.net> Signed-off-by: Joey Smith <jsmith@webinertia.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @tyrsson
Sigh, MSSQL is broken again 🙄 |
@tyrsson this needs a rebase on |
Correctly types $event property to EventInterface instead of just null
Description