original_string: private function buildVisitTime($array)
      {
          $result = [];
          foreach ($array as $pair) {
              $result[] = self::DIRECTIVE_VISIT_TIME . ':' . $pair['from'] . '-' . $pair['to'];
          }
          return $result;
      }
code: private function buildVisitTime($array)
      {
          $result = [];
          foreach ($array as $pair) {
              $result[] = self::DIRECTIVE_VISIT_TIME . ':' . $pair['from'] . '-' . $pair['to'];
          }
          return $result;
      }
code_tokens: private function buildVisitTime ( $ array ) { $ result = [ ] ; foreach ( $ array as $ pair ) { $ result [ ] = self :: DIRECTIVE_VISIT_TIME . ':' . $ pair [ 'from' ] . '-' . $ pair [ 'to' ] ; } return $ result ; }
docstring: Visit-time
  
  @param int[]|string[] $array
  @return string[]
docstring_tokens: Visit - time