Skip to content

null value in constructor throws fatal error #1

Description

@GerardEarley

if a null value is passed to the constructor a Fatal error is thrown.

PHP Fatal error: Uncaught TypeError: UkPostcode::__construct(): Argument #1 ($postcode) must be of type string, null given, called in

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions