original_string: protected function getConditions()
      {
          $conditionLoader = $this->loader->getConditions();
          $conditions = [];
          for ($number = 1; $number <= 4; $number++) {
              $element = 'gcon_condition_text' . $number;
              $conditionId = (int) $this->_data[$element];
              if ($conditionId >0) {
                  $conditions[] = $conditionLoader->loadCondition($conditionId);
              }
          }
  
          return $conditions;
      }
code: protected function getConditions()
      {
          $conditionLoader = $this->loader->getConditions();
          $conditions = [];
          for ($number = 1; $number <= 4; $number++) {
              $element = 'gcon_condition_text' . $number;
              $conditionId = (int) $this->_data[$element];
              if ($conditionId >0) {
                  $conditions[] = $conditionLoader->loadCondition($conditionId);
              }
          }
  
          return $conditions;
      }
code_tokens: protected function getConditions ( ) { $ conditionLoader = $ this -> loader -> getConditions ( ) ; $ conditions = [ ] ; for ( $ number = 1 ; $ number <= 4 ; $ number ++ ) { $ element = 'gcon_condition_text' . $ number ; $ conditionId = ( int ) $ this -> _data [ $ element ] ; if ( $ conditionId > 0 ) { $ conditions [ ] = $ conditionLoader -> loadCondition ( $ conditionId ) ; } } return $ conditions ; }
docstring: Load the conditions
  
  @return \Gems\Condition\RoundConditionInterface[]
docstring_tokens: Load the conditions