Redeclare the getUser method in GetResponseNullableUserEvent
Redeclare the getUser method in GetResponseNullableUserEvent

This allows it to have the proper return type.
This class is actually violating variance rules. The v3 of the package
will replace it with a class not extending the other event class.

FriendsOfSymfony/FOSUserBundle