original_string: private static function getFullIpHost($clientIpHost = null, $proxyIpHost = null): ?string
      {
          $fullIpHost = [];
          if ($clientIpHost !== null) {
              $fullIpHost[] = \sprintf('client: %s', $clientIpHost);
          }
          if ($proxyIpHost !== null) {
              $fullIpHost[] = \sprintf('proxy: %s', $proxyIpHost);
          }
  
          return (\count($fullIpHost) > 0) ? \implode(', ', $fullIpHost) : null;
      }
code: private static function getFullIpHost($clientIpHost = null, $proxyIpHost = null): ?string
      {
          $fullIpHost = [];
          if ($clientIpHost !== null) {
              $fullIpHost[] = \sprintf('client: %s', $clientIpHost);
          }
          if ($proxyIpHost !== null) {
              $fullIpHost[] = \sprintf('proxy: %s', $proxyIpHost);
          }
  
          return (\count($fullIpHost) > 0) ? \implode(', ', $fullIpHost) : null;
      }
code_tokens: private static function getFullIpHost ( $ clientIpHost = null , $ proxyIpHost = null ) : ? string { $ fullIpHost = [ ] ; if ( $ clientIpHost !== null ) { $ fullIpHost [ ] = \ sprintf ( 'client: %s' , $ clientIpHost ) ; } if ( $ proxyIpHost !== null ) { $ fullIpHost [ ] = \ sprintf ( 'proxy: %s' , $ proxyIpHost ) ; } return ( \ count ( $ fullIpHost ) > 0 ) ? \ implode ( ', ' , $ fullIpHost ) : null ; }
docstring: Returns full ip host string
  
  @param null $clientIpHost
  @param null $proxyIpHost
  @return null|string
docstring_tokens: Returns full ip host string