The expression return $object; of type object|integer|double|string|null|boolean is incompatible with the return type declared by the interface Symfony\Component\Serial...zerInterface::normalize of type array|string|integer|double|boolean|null as it can also be of type object which is not included in this return type.
Loading history...
45
}
46
47
public function supportsNormalization($data, $format = null)