private function createTypeMessage(string $type, string $name = null): string
    {
        return ((null !== $name) ? ($type . ' (named "' . $name . '")') : ($type));
    }
private function createTypeMessage(string $type, string $name = null): string
    {
        return ((null !== $name) ? ($type . ' (named "' . $name . '")') : ($type));
    }
private function createTypeMessage ( string $ type , string $ name = null ) : string { return ( ( null !== $ name ) ? ( $ type . ' (named "' . $ name . '")' ) : ( $ type ) ) ; }
creates the complete type message

@param   string  $type  type to create message for
@param   string  $name  name of named parameter
@return  string
creates the complete type message