original_string: public function add_analysable_results(array $results): bool {
  
          $any = false;
  
          // Process all provided time splitting methods.
          foreach ($results as $timesplittingid => $result) {
              if (!empty($result->result)) {
                  $this->filesbytimesplitting[$timesplittingid][] = $result->result;
                  $any = true;
              }
          }
  
          if (empty($any)) {
              return false;
          }
          return true;
      }
code: public function add_analysable_results(array $results): bool {
  
          $any = false;
  
          // Process all provided time splitting methods.
          foreach ($results as $timesplittingid => $result) {
              if (!empty($result->result)) {
                  $this->filesbytimesplitting[$timesplittingid][] = $result->result;
                  $any = true;
              }
          }
  
          if (empty($any)) {
              return false;
          }
          return true;
      }
code_tokens: public function add_analysable_results ( array $ results ) : bool { $ any = false ; // Process all provided time splitting methods. foreach ( $ results as $ timesplittingid => $ result ) { if ( ! empty ( $ result -> result ) ) { $ this -> filesbytimesplitting [ $ timesplittingid ] [ ] = $ result -> result ; $ any = true ; } } if ( empty ( $ any ) ) { return false ; } return true ; }
docstring: Stores the analysis results.
  @param  array $results
  @return bool            True if anything was successfully analysed
docstring_tokens: Stores the analysis results .