@@ -57,7 +57,7 @@ |
||
| 57 | 57 | $this->baseUrl = env('API_FULL_URL'); // this reads the value from `phpunit.xml` during testing |
| 58 | 58 | |
| 59 | 59 | // override the default subDomain of the base URL when subDomain property is defined inside a test |
| 60 | - if(property_exists($this, 'subDomain')){ |
|
| 60 | + if (property_exists($this, 'subDomain')) { |
|
| 61 | 61 | $this->overrideSubDomain($this->subDomain); |
| 62 | 62 | } |
| 63 | 63 | |
@@ -418,7 +418,7 @@ |
||
| 418 | 418 | */ |
| 419 | 419 | public function overrideSubDomain($subDomain, $url = null) |
| 420 | 420 | { |
| 421 | - $url = ($url) ? : $this->baseUrl; |
|
| 421 | + $url = ($url) ?: $this->baseUrl; |
|
| 422 | 422 | |
| 423 | 423 | $info = parse_url($url); |
| 424 | 424 | |