original_string: protected function filter($files) {
  		foreach ($files as $i => $file) {
  			if (!empty($file['hidden']) || !$this->default->mimeAccepted($file['mime'])) {
  				unset($files[$i]);
  			}
  		}
  		return array_merge($files, array());
  	}
code: protected function filter($files) {
  		foreach ($files as $i => $file) {
  			if (!empty($file['hidden']) || !$this->default->mimeAccepted($file['mime'])) {
  				unset($files[$i]);
  			}
  		}
  		return array_merge($files, array());
  	}
code_tokens: protected function filter ( $ files ) { foreach ( $ files as $ i => $ file ) { if ( ! empty ( $ file [ 'hidden' ] ) || ! $ this -> default -> mimeAccepted ( $ file [ 'mime' ] ) ) { unset ( $ files [ $ i ] ) ; } } return array_merge ( $ files , array ( ) ) ; }
docstring: Remove from files list hidden files and files with required mime types
  
  @param  array  $files  files info
  @return array
  @author Dmitry (dio) Levashov
docstring_tokens: Remove from files list hidden files and files with required mime types