original_string: public function searchDir($type, $directory = '')
      {
          $dirs = $this->search($type, $directory, 'path');
          $files = array();
          foreach ($dirs as $dir) {
              $this->_searchDirFiles($dir, $files);
          }
  
          return $files;
      }
code: public function searchDir($type, $directory = '')
      {
          $dirs = $this->search($type, $directory, 'path');
          $files = array();
          foreach ($dirs as $dir) {
              $this->_searchDirFiles($dir, $files);
          }
  
          return $files;
      }
code_tokens: public function searchDir ( $ type , $ directory = '' ) { $ dirs = $ this -> search ( $ type , $ directory , 'path' ) ; $ files = array ( ) ; foreach ( $ dirs as $ dir ) { $ this -> _searchDirFiles ( $ dir , $ files ) ; } return $ files ; }
docstring: Specify type and directory and it will return array of all files
  of a matching type inside that directory. This will work even
  if specified directory exists inside multiple locations.
docstring_tokens: Specify type and directory and it will return array of all files of a matching type inside that directory . This will work even if specified directory exists inside multiple locations .