From: Tim Düsterhus Date: Fri, 17 Jul 2020 14:49:14 +0000 (+0200) Subject: Add missing trailing commas X-Git-Tag: 5.3.0_Alpha_1~132^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d84e591fcda832691a626a8af3df7300f3eb01c8;p=GitHub%2FWoltLab%2FWCF.git Add missing trailing commas Co-authored-by: Matthias Schmidt --- diff --git a/wcfsetup/install/files/lib/system/io/HttpFactory.class.php b/wcfsetup/install/files/lib/system/io/HttpFactory.class.php index b8c42e97e8..6158b4a040 100644 --- a/wcfsetup/install/files/lib/system/io/HttpFactory.class.php +++ b/wcfsetup/install/files/lib/system/io/HttpFactory.class.php @@ -60,7 +60,7 @@ final class HttpFactory { 'proxy' => PROXY_SERVER_HTTP, 'headers' => [ 'user-agent' => self::getDefaultUserAgent(), - ] + ], ], $options)); } } diff --git a/wcfsetup/install/files/lib/util/HTTPRequest.class.php b/wcfsetup/install/files/lib/util/HTTPRequest.class.php index a65be49239..27c84c7a29 100644 --- a/wcfsetup/install/files/lib/util/HTTPRequest.class.php +++ b/wcfsetup/install/files/lib/util/HTTPRequest.class.php @@ -176,7 +176,7 @@ final class HTTPRequest { if (isset($this->options['auth'])) { $options['auth'] = [ $this->options['auth']['username'], - $this->options['auth']['password'] + $this->options['auth']['password'], ]; } @@ -293,7 +293,7 @@ final class HTTPRequest { 'headers' => $legacyHeaders, 'httpHeaders' => $headers, 'body' => $this->replyBody, - 'url' => $this->url + 'url' => $this->url, ]; }