original_string: public function remove_class($class) {
          if (in_array($class, $this->classes)) {
              $key = array_search($class,$this->classes);
              if ($key!==false) {
                  unset($this->classes[$key]);
                  return true;
              }
          }
          return false;
      }
code: public function remove_class($class) {
          if (in_array($class, $this->classes)) {
              $key = array_search($class,$this->classes);
              if ($key!==false) {
                  unset($this->classes[$key]);
                  return true;
              }
          }
          return false;
      }
code_tokens: public function remove_class ( $ class ) { if ( in_array ( $ class , $ this -> classes ) ) { $ key = array_search ( $ class , $ this -> classes ) ; if ( $ key !== false ) { unset ( $ this -> classes [ $ key ] ) ; return true ; } } return false ; }
docstring: Removes a CSS class from this node.
  
  @param string $class
  @return bool True if the class was successfully removed.
docstring_tokens: Removes a CSS class from this node .