Skip to content

Can't use array attributes #116

@Nekroido

Description

@Nekroido

I've been trying to wrap my head around this problem for some time and make my tests green. And then found this quite nasty and unwelcome "favor" that practically makes it impossible to use array values that are stored as JSON encoded strings:

            // It's possible that the called Faker method returned an array.
            // If that is the case, we'll implode it for the user.

            return is_array($attribute) ? implode(' ', $attribute) : $attribute;

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