src/Generator/Parameter/BodyParameterGenerator.php
public function generateMethodParameter($parameter, Context $context, $reference)
    {
        $name = Inflector::camelize($parameter->getName());

        list($class, $array) = $this->getClass($parameter, $context, $reference);

        if (null === $array || true === $array) {
            if ($class == "array") {
                return new Node\Param($name, null, "array");
            }

            return new Node\Param($name);
        }

        return new Node\Param($name, null, $class);
    }
public function generateMethodParameter($parameter, Context $context, $reference)
    {
        $name = Inflector::camelize($parameter->getName());

        list($class, $array) = $this->getClass($parameter, $context, $reference);

        if (null === $array || true === $array) {
            if ($class == "array") {
                return new Node\Param($name, null, "array");
            }

            return new Node\Param($name);
        }

        return new Node\Param($name, null, $class);
    }
public function generateMethodParameter ( $ parameter , Context $ context , $ reference ) { $ name = Inflector :: camelize ( $ parameter -> getName ( ) ) ; list ( $ class , $ array ) = $ this -> getClass ( $ parameter , $ context , $ reference ) ; if ( null === $ array || true === $ array ) { if ( $ class == "array" ) { return new Node \ Param ( $ name , null , "array" ) ; } return new Node \ Param ( $ name ) ; } return new Node \ Param ( $ name , null , $ class ) ; }
{@inheritDoc}

@param $parameter BodyParameter
{ @inheritDoc }