]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/client/http/class_HttpClient.php
Continued:
[core.git] / framework / main / classes / client / http / class_HttpClient.php
index a1b26093d661a0607669ac0788f3eee7e0425302..eecb89555e0c5962e3838855c1cfeb25078734a0 100644 (file)
@@ -112,7 +112,7 @@ class HttpClient extends BaseClient implements Client {
         * @param       $port                   Port number to connect to
         * @return      $responseArray  Array with raw response
         */
-       private function sendRawHttpRequest ($method, $host, $port, array $header = array()) {
+       private function sendRawHttpRequest ($method, $host, $port, array $header = []) {
                // Minimum raw HTTP/1.1 request
                $rawRequest  = $method . ' ' . $host . ':' . $port . ' HTTP/1.1' . self::HTTP_EOL;
                $rawRequest .= 'Host: ' . $host . ':' . $port . self::HTTP_EOL;