original_string: public function forFile(FileInterface $file)
      {
          $filter = function ($review) use ($file) {
              if ($review->canReview($file)) {
                  return true;
              }
  
              return false;
          };
  
          return $this->select($filter);
      }
code: public function forFile(FileInterface $file)
      {
          $filter = function ($review) use ($file) {
              if ($review->canReview($file)) {
                  return true;
              }
  
              return false;
          };
  
          return $this->select($filter);
      }
code_tokens: public function forFile ( FileInterface $ file ) { $ filter = function ( $ review ) use ( $ file ) { if ( $ review -> canReview ( $ file ) ) { return true ; } return false ; } ; return $ this -> select ( $ filter ) ; }
docstring: Returns a filtered ReviewCollection that should be run against the given
  file.
  
  @param  FileInterface $file
  @return ReviewCollection
docstring_tokens: Returns a filtered ReviewCollection that should be run against the given file .