@@ -35,7 +35,7 @@ |
||
| 35 | 35 | public function __construct(Credential $credential, ClientInterface $httpClient = null) |
| 36 | 36 | { |
| 37 | 37 | $this->credential = $credential; |
| 38 | - $this->httpClient = $httpClient ? : new CurlClient($credential); |
|
| 38 | + $this->httpClient = $httpClient ?: new CurlClient($credential); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | { |
| 58 | 58 | $this->credential = $credential; |
| 59 | 59 | |
| 60 | - $this->curl = $curl ? : new Curl(); |
|
| 60 | + $this->curl = $curl ?: new Curl(); |
|
| 61 | 61 | |
| 62 | 62 | $this->hostname = static::HOSTNAME_DEFAULT; |
| 63 | 63 | } |