original_string: public function filterResult(callable $filter)
      {
          $result = [];
  
          foreach ($this->files as $file) {
              if ($filter($file)) {
                  $result[] = $file;
              }
          }
  
          return $result;
      }
code: public function filterResult(callable $filter)
      {
          $result = [];
  
          foreach ($this->files as $file) {
              if ($filter($file)) {
                  $result[] = $file;
              }
          }
  
          return $result;
      }
code_tokens: public function filterResult ( callable $ filter ) { $ result = [ ] ; foreach ( $ this -> files as $ file ) { if ( $ filter ( $ file ) ) { $ result [ ] = $ file ; } } return $ result ; }
docstring: Further filtering the find result set
  @param callable $filter
  e.g:
  $filter = function($file) {
  if (false !== strpos($file, 'jqu') ) {
  return true;
  }
  return false;
  };
  @return array
docstring_tokens: Further filtering the find result set