original_string: public function fileList()
      {
          $result = array();
  
          $dirContent = opendir($this->_dirPath);
          while (($file = readdir($dirContent)) !== false) {
              if (($file == '..')||($file == '.')) {   continue;
              }
  
              if(!is_dir($this->_dirPath . '/' . $file) ) {
                  $result[] = $file;
              }
          }
          closedir($dirContent);
  
          return $result;
      }
code: public function fileList()
      {
          $result = array();
  
          $dirContent = opendir($this->_dirPath);
          while (($file = readdir($dirContent)) !== false) {
              if (($file == '..')||($file == '.')) {   continue;
              }
  
              if(!is_dir($this->_dirPath . '/' . $file) ) {
                  $result[] = $file;
              }
          }
          closedir($dirContent);
  
          return $result;
      }
code_tokens: public function fileList ( ) { $ result = array ( ) ; $ dirContent = opendir ( $ this -> _dirPath ) ; while ( ( $ file = readdir ( $ dirContent ) ) !== false ) { if ( ( $ file == '..' ) || ( $ file == '.' ) ) { continue ; } if ( ! is_dir ( $ this -> _dirPath . '/' . $ file ) ) { $ result [ ] = $ file ; } } closedir ( $ dirContent ) ; return $ result ; }
docstring: Returns an array of strings, one for each file in the directory.
  
  @return array
docstring_tokens: Returns an array of strings one for each file in the directory .