original_string: private static function merge_multiple($option, $lists)
      {
          if (empty($lists)) {
              return null;
          }
          // found format using sprintf.
          if (isset($option['format'])) {
              $param = array_merge(array($option['format']), $lists);
              $found = call_user_func_array('sprintf', $param);
          } else {
              $con   = Helper::arrGet($option, 'connector', '-');
              $found = implode($con, $lists);
          }
  
          return $found;
      }
code: private static function merge_multiple($option, $lists)
      {
          if (empty($lists)) {
              return null;
          }
          // found format using sprintf.
          if (isset($option['format'])) {
              $param = array_merge(array($option['format']), $lists);
              $found = call_user_func_array('sprintf', $param);
          } else {
              $con   = Helper::arrGet($option, 'connector', '-');
              $found = implode($con, $lists);
          }
  
          return $found;
      }
code_tokens: private static function merge_multiple ( $ option , $ lists ) { if ( empty ( $ lists ) ) { return null ; } // found format using sprintf. if ( isset ( $ option [ 'format' ] ) ) { $ param = array_merge ( array ( $ option [ 'format' ] ) , $ lists ) ; $ found = call_user_func_array ( 'sprintf' , $ param ) ; } else { $ con = Helper :: arrGet ( $ option , 'connector' , '-' ) ; $ found = implode ( $ con , $ lists ) ; } return $ found ; }
docstring: merge the found list into one value.
  
  @param array $option
  @param array $lists
  @return mixed|null|string
docstring_tokens: merge the found list into one value .