Skip to content

Nullable types or union types with null #135

Description

@krzysztofrewak

I would like to unify these:

protected AuditEntry|null $auditEntry = null;

and

protected ?AuditEntry $auditEntry = null;

In my sense of aesthetics nullable option is better. I also think that we are using it more often in our projects.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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