Skip to content

Type hint and access modifiers #18

@pinclau

Description

@pinclau

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions