Skip to content

newFromBuilder does not maintain mutated attributes #70

@sarahmarshy

Description

@sarahmarshy

https://github.com/jonspalmer/single-table-inheritance/blob/main/src/SingleTableInheritanceTrait.php#L188

Constructing this object with no attributes and then setting them as "filtered" does not mutate properties that are intended to be mutated.

I have verified that passing the attributes directly to the constructor does mutate the intended properties.

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