Skip to content

Problem when MessyPhysicalAddress already contains City/Region/Country #15

@gnumoksha

Description

@gnumoksha

If the first parameter of MessyPhysicalAddress already contains the City/Region/Country and these parameters are passed again, the string representation of the address will be wrong.

Example

$address = new MessyPhysicalAddress('Morristown, Nj', new City('Morristown'), new Region('NJ'));
print($address); // "Morristown, Nj, Morristown, Nj". Should be "Morristown, Nj".

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