Skip to content

Illegal offset type in isset or empty , SimpleThings/FormSerializerBundle/Serializer/JMSSerializerConverter.php line 76  #32

@mailaneel

Description

@mailaneel

Data passed in getType($type, $recursive = false) $type is passed as array

Array
(
    [name] => string
    [params] => Array
        (
        )

)

Checking

isset($this->typeMap[$type]

Should be?

isset($this->typeMap[$type['name']]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions