summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-kernel/Client.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-kernel/Client.php')
-rw-r--r--vendor/symfony/http-kernel/Client.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/symfony/http-kernel/Client.php b/vendor/symfony/http-kernel/Client.php
index 62555e9a5a..51b853c6e1 100644
--- a/vendor/symfony/http-kernel/Client.php
+++ b/vendor/symfony/http-kernel/Client.php
@@ -39,7 +39,7 @@ class Client extends BaseClient
* @param History $history A History instance to store the browser history
* @param CookieJar $cookieJar A CookieJar instance to store the cookies
*/
- public function __construct(HttpKernelInterface $kernel, array $server = array(), History $history = null, CookieJar $cookieJar = null)
+ public function __construct(HttpKernelInterface $kernel, array $server = [], History $history = null, CookieJar $cookieJar = null)
{
// These class properties must be set before calling the parent constructor, as it may depend on it.
$this->kernel = $kernel;
@@ -159,7 +159,7 @@ EOF;
*/
protected function filterFiles(array $files)
{
- $filtered = array();
+ $filtered = [];
foreach ($files as $key => $value) {
if (\is_array($value)) {
$filtered[$key] = $this->filterFiles($value);