original_string: public function resetAliases($extension = null)
      {
          if ($extension === null) {
              $this->aliases = [];
          }
          else {
              $this->aliases[$extension] = [];
          }
  
          return $this;
      }
code: public function resetAliases($extension = null)
      {
          if ($extension === null) {
              $this->aliases = [];
          }
          else {
              $this->aliases[$extension] = [];
          }
  
          return $this;
      }
code_tokens: public function resetAliases ( $ extension = null ) { if ( $ extension === null ) { $ this -> aliases = [ ] ; } else { $ this -> aliases [ $ extension ] = [ ] ; } return $ this ; }
docstring: Clears any registered aliases.
  @param string $extension Extension name. Eg: css
  @return self
docstring_tokens: Clears any registered aliases .