original_string: public function report() : ReportingResult
      {
          $sets = [];
          $errors = [];
          foreach ($this->collectors as $collector) {
              $sets[] = $set = $collector->flush();
              $errors[] = $this->reportOn($set);
          }
  
          return new ReportingResult($sets, array_merge(...$errors));
      }
code: public function report() : ReportingResult
      {
          $sets = [];
          $errors = [];
          foreach ($this->collectors as $collector) {
              $sets[] = $set = $collector->flush();
              $errors[] = $this->reportOn($set);
          }
  
          return new ReportingResult($sets, array_merge(...$errors));
      }
code_tokens: public function report ( ) : ReportingResult { $ sets = [ ] ; $ errors = [ ] ; foreach ( $ this -> collectors as $ collector ) { $ sets [ ] = $ set = $ collector -> flush ( ) ; $ errors [ ] = $ this -> reportOn ( $ set ) ; } return new ReportingResult ( $ sets , array_merge ( ... $ errors ) ) ; }
docstring: Flush each collector and send its MetricSet to all the given reporters.
  
  Returns any exceptions thrown by reporters. Metrics Usually aren't crucial
  to how an app runs, so this is making the call to try and keep running.
  
  If that's not what's required for an application, then this class should
  not be used.
docstring_tokens: Flush each collector and send its MetricSet to all the given reporters .