original_string: protected function getUrlHTTPCodesFromConfig(
          $urlConfig,
          array $defaultHTTPCodes
      ) {
          $HTTPCodes = (
              is_array($urlConfig) &&
              isset($urlConfig[1]) &&
              !empty($urlConfig[1])
          )
              ? $urlConfig[1]
              : $defaultHTTPCodes;
  
          return is_array($HTTPCodes)
              ? $HTTPCodes
              : [$HTTPCodes];
      }
code: protected function getUrlHTTPCodesFromConfig(
          $urlConfig,
          array $defaultHTTPCodes
      ) {
          $HTTPCodes = (
              is_array($urlConfig) &&
              isset($urlConfig[1]) &&
              !empty($urlConfig[1])
          )
              ? $urlConfig[1]
              : $defaultHTTPCodes;
  
          return is_array($HTTPCodes)
              ? $HTTPCodes
              : [$HTTPCodes];
      }
code_tokens: protected function getUrlHTTPCodesFromConfig ( $ urlConfig , array $ defaultHTTPCodes ) { $ HTTPCodes = ( is_array ( $ urlConfig ) && isset ( $ urlConfig [ 1 ] ) && ! empty ( $ urlConfig [ 1 ] ) ) ? $ urlConfig [ 1 ] : $ defaultHTTPCodes ; return is_array ( $ HTTPCodes ) ? $ HTTPCodes : [ $ HTTPCodes ] ; }
docstring: Get url HTTP Codes given its configuration
  
  @param mixed    $urlConfig        Url configuration
  @param string[] $defaultHTTPCodes Array of HTTP Codes
  
  @return string[] Set of HTTP Codes
docstring_tokens: Get url HTTP Codes given its configuration