Skip to content

Commit 63d0582

Browse files
committed
[CS] [5.2] Replace easy occurrences of ?: with ??
1 parent 3ca3a57 commit 63d0582

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AbstractBrowser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ abstract class AbstractBrowser
5353
public function __construct(array $server = [], History $history = null, CookieJar $cookieJar = null)
5454
{
5555
$this->setServerParameters($server);
56-
$this->history = $history ?: new History();
57-
$this->cookieJar = $cookieJar ?: new CookieJar();
56+
$this->history = $history ?? new History();
57+
$this->cookieJar = $cookieJar ?? new CookieJar();
5858
}
5959

6060
/**

0 commit comments

Comments
 (0)