private function createParamString(\ReflectionParameter $parameter, string $type): string
    {
        $message = '';
        if (!in_array($type, [PropertyBinding::TYPE, ConstantBinding::TYPE, ListBinding::TYPE, MapBinding::TYPE])) {
            $message .= $type . ' ';
        } elseif ($parameter->isArray()) {
            $message .= 'array ';
        }

        return $message . '$' . $parameter->getName();
    }
private function createParamString(\ReflectionParameter $parameter, string $type): string
    {
        $message = '';
        if (!in_array($type, [PropertyBinding::TYPE, ConstantBinding::TYPE, ListBinding::TYPE, MapBinding::TYPE])) {
            $message .= $type . ' ';
        } elseif ($parameter->isArray()) {
            $message .= 'array ';
        }

        return $message . '$' . $parameter->getName();
    }
private function createParamString ( \ ReflectionParameter $ parameter , string $ type ) : string { $ message = '' ; if ( ! in_array ( $ type , [ PropertyBinding :: TYPE , ConstantBinding :: TYPE , ListBinding :: TYPE , MapBinding :: TYPE ] ) ) { $ message .= $ type . ' ' ; } elseif ( $ parameter -> isArray ( ) ) { $ message .= 'array ' ; } return $ message . '$' . $ parameter -> getName ( ) ; }
creates the called method message

@param   \ReflectionParameter  $parameter
@param   string                $type
@return  string
creates the called method message