src/Behat/Behat/Transformation/Transformation/ReturnTypeTransformation.php
static private function getReturnClass(ReflectionFunctionAbstract $reflection)
    {
        $type = $reflection->getReturnType();

        if (null === $type || $type->isBuiltin()) {
            return null;
        }

        return (string) $type;
    }
static private function getReturnClass(ReflectionFunctionAbstract $reflection)
    {
        $type = $reflection->getReturnType();

        if (null === $type || $type->isBuiltin()) {
            return null;
        }

        return (string) $type;
    }
static private function getReturnClass ( ReflectionFunctionAbstract $ reflection ) { $ type = $ reflection -> getReturnType ( ) ; if ( null === $ type || $ type -> isBuiltin ( ) ) { return null ; } return ( string ) $ type ; }
Extracts parameters from provided definition call.

@param ReflectionFunctionAbstract $reflection

@return null|string
Extracts parameters from provided definition call .