Cannot assign null to property Dot\Authentication\AuthenticationResult::$identity of type Dot\Authentication\Identity\IdentityInterface
In AuthenticationResult line 21 "protected IdentityInterface $identity" must accept null, because in construct the identity can be null, in case of failed credentials.
All const that currently are protected eg. "protected const FAILURE = 0;" must be public as are used outside the class
Cannot assign null to property Dot\Authentication\AuthenticationResult::$identity of type Dot\Authentication\Identity\IdentityInterface
In AuthenticationResult line 21 "protected IdentityInterface $identity" must accept null, because in construct the identity can be null, in case of failed credentials.
All const that currently are protected eg. "protected const FAILURE = 0;" must be public as are used outside the class