Skip to content

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

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']]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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