Open mailaneel opened 11 years ago
Data passed in getType($type, $recursive = false) $type is passed as array
getType($type, $recursive = false)
$type
Array ( [name] => string [params] => Array ( ) )
isset($this->typeMap[$type]
isset($this->typeMap[$type['name']]
This is because this bundle is not updated yet for JMSSerializerBundle 1.0.x-dev. It currently works with the 0.9 release
See #30 for the update
Data passed in
getType($type, $recursive = false)
$type
is passed as arrayChecking
isset($this->typeMap[$type]
Should be?
isset($this->typeMap[$type['name']]