original_string: protected function deletingFilesNamesList($files) : array
  	{
  		return $files->flatMap(function($item) {
  			$path_parts = pathinfo($item);
  			$result[] = $path_parts['filename'];
  
  			return $result;
  		})->filter(function($item) {
  			return trim($item) != '';
  		})->all();
  	}
code: protected function deletingFilesNamesList($files) : array
  	{
  		return $files->flatMap(function($item) {
  			$path_parts = pathinfo($item);
  			$result[] = $path_parts['filename'];
  
  			return $result;
  		})->filter(function($item) {
  			return trim($item) != '';
  		})->all();
  	}
code_tokens: protected function deletingFilesNamesList ( $ files ) : array { return $ files -> flatMap ( function ( $ item ) { $ path_parts = pathinfo ( $ item ) ; $ result [ ] = $ path_parts [ 'filename' ] ; return $ result ; } ) -> filter ( function ( $ item ) { return trim ( $ item ) != '' ; } ) -> all ( ) ; }
docstring: Returns a sanitized deleting files list.
  
  @param  Collection $files
  
  @return array
docstring_tokens: Returns a sanitized deleting files list .