public function generateDocParameter($parameter, Context $context, $reference)
    {
        list($class, $array) = $this->getClass($parameter, $context, $reference);

        if (null === $class) {
            return sprintf('%s $%s %s', 'mixed', Inflector::camelize($parameter->getName()), $parameter->getDescription() ?: '');
        }

        return sprintf('%s $%s %s', $class, Inflector::camelize($parameter->getName()), $parameter->getDescription() ?: '');
    }
public function generateDocParameter($parameter, Context $context, $reference)
    {
        list($class, $array) = $this->getClass($parameter, $context, $reference);

        if (null === $class) {
            return sprintf('%s $%s %s', 'mixed', Inflector::camelize($parameter->getName()), $parameter->getDescription() ?: '');
        }

        return sprintf('%s $%s %s', $class, Inflector::camelize($parameter->getName()), $parameter->getDescription() ?: '');
    }
{@inheritDoc}

@param $parameter BodyParameter