Skip to content

Commit e0fd73d

Browse files
committed
[CS] Replace easy occurences of ?: with ??
1 parent cfa8d92 commit e0fd73d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ abstract class Client
5555
public function __construct(array $server = [], History $history = null, CookieJar $cookieJar = null)
5656
{
5757
$this->setServerParameters($server);
58-
$this->history = $history ?: new History();
59-
$this->cookieJar = $cookieJar ?: new CookieJar();
58+
$this->history = $history ?? new History();
59+
$this->cookieJar = $cookieJar ?? new CookieJar();
6060
}
6161

6262
/**

0 commit comments

Comments
 (0)