original_string: public function getTypes()
      {
          $types = array(
              'brand' => $this->translation->text('Brand'),
              'common' => $this->translation->text('Common'),
              'catalog' => $this->translation->text('Catalog')
          );
  
          $this->hook->attach('category.group.types', $types, $this);
          return $types;
      }
code: public function getTypes()
      {
          $types = array(
              'brand' => $this->translation->text('Brand'),
              'common' => $this->translation->text('Common'),
              'catalog' => $this->translation->text('Catalog')
          );
  
          $this->hook->attach('category.group.types', $types, $this);
          return $types;
      }
code_tokens: public function getTypes ( ) { $ types = array ( 'brand' => $ this -> translation -> text ( 'Brand' ) , 'common' => $ this -> translation -> text ( 'Common' ) , 'catalog' => $ this -> translation -> text ( 'Catalog' ) ) ; $ this -> hook -> attach ( 'category.group.types' , $ types , $ this ) ; return $ types ; }
docstring: Returns an array of category group types
  @return array
docstring_tokens: Returns an array of category group types