Skip to content

[Serializer] Normalizer Callback params confusion: $innerObject should be called $attributeValue and $outerObject should be just $object #20080

Closed
@mindaugasvcs

Description

@mindaugasvcs

$dateCallback = function (object $innerObject, object $outerObject, string $attributeName, ?string $format = null, array $context = []): string {

Normalizer Callback params confusion:
$innerObject should be called $attributeValue and $outerObject should be just $object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SerializerhasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions