public static function createForInvalidDenormalizerType(int $index, $denormalizer) : \TypeError
{
return new \TypeError(sprintf('Expected denormalizer %d to be a "%s", got "%s" instead.', $index, ChainableFixtureDenormalizerInterface::class, is_object($denormalizer) ? get_class($denormalizer) : gettype($denormalizer)));
}