original_string: public function getFiles(array $dir_files, $files = array())
      {
          foreach ($dir_files as $file) {
              $filepath = $this->getFileManager()->DirTrim($this->getFileManager()->getDir(), $file, true);
  
              //Only show non-hidden files
              if ($file[0] != ".") {
                  $files[] = new FileInfo($filepath, $this->getFileManager());
              }
          }
          return $files;
      }
code: public function getFiles(array $dir_files, $files = array())
      {
          foreach ($dir_files as $file) {
              $filepath = $this->getFileManager()->DirTrim($this->getFileManager()->getDir(), $file, true);
  
              //Only show non-hidden files
              if ($file[0] != ".") {
                  $files[] = new FileInfo($filepath, $this->getFileManager());
              }
          }
          return $files;
      }
code_tokens: public function getFiles ( array $ dir_files , $ files = array ( ) ) { foreach ( $ dir_files as $ file ) { $ filepath = $ this -> getFileManager ( ) -> DirTrim ( $ this -> getFileManager ( ) -> getDir ( ) , $ file , true ) ; //Only show non-hidden files if ( $ file [ 0 ] != "." ) { $ files [ ] = new FileInfo ( $ filepath , $ this -> getFileManager ( ) ) ; } } return $ files ; }
docstring: Returns all files in the current directory
  
  @param array $dir_files
  @param array $files
  @return array
docstring_tokens: Returns all files in the current directory