We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfa8d92 commit e0fd73dCopy full SHA for e0fd73d
Client.php
@@ -55,8 +55,8 @@ abstract class Client
55
public function __construct(array $server = [], History $history = null, CookieJar $cookieJar = null)
56
{
57
$this->setServerParameters($server);
58
- $this->history = $history ?: new History();
59
- $this->cookieJar = $cookieJar ?: new CookieJar();
+ $this->history = $history ?? new History();
+ $this->cookieJar = $cookieJar ?? new CookieJar();
60
}
61
62
/**
0 commit comments