original_string: public function forLevel($option)
      {
          // Only return issues matching the level.
          $filter = function ($issue) use ($option) {
              if ($issue->matches($option)) {
                  return true;
              }
  
              return false;
          };
  
          return $this->select($filter);
      }
code: public function forLevel($option)
      {
          // Only return issues matching the level.
          $filter = function ($issue) use ($option) {
              if ($issue->matches($option)) {
                  return true;
              }
  
              return false;
          };
  
          return $this->select($filter);
      }
code_tokens: public function forLevel ( $ option ) { // Only return issues matching the level. $ filter = function ( $ issue ) use ( $ option ) { if ( $ issue -> matches ( $ option ) ) { return true ; } return false ; } ; return $ this -> select ( $ filter ) ; }
docstring: Returns a new IssueCollection filtered by the given level option.
  
  @param  int             $level
  @return IssueCollection
docstring_tokens: Returns a new IssueCollection filtered by the given level option .