original_string: public function listTemplates( $templateType = null ){
          $queryParams = is_null( $templateType ) ? [] : [ 'type' => $templateType ];
          return $this->httpGet( self::PATH_TEMPLATE_LIST, $queryParams );
      }
code: public function listTemplates( $templateType = null ){
          $queryParams = is_null( $templateType ) ? [] : [ 'type' => $templateType ];
          return $this->httpGet( self::PATH_TEMPLATE_LIST, $queryParams );
      }
code_tokens: public function listTemplates ( $ templateType = null ) { $ queryParams = is_null ( $ templateType ) ? [ ] : [ 'type' => $ templateType ] ; return $ this -> httpGet ( self :: PATH_TEMPLATE_LIST , $ queryParams ) ; }
docstring: Get all templates
  
  Can pass in template_type to filter templates.
  
  @param string  $template_type
  
  @return array
docstring_tokens: Get all templates