@@ -381,7 +381,7 @@ discard block |
||
| 381 | 381 | */ |
| 382 | 382 | public static function getTestingFile($fileName, $stubDirPath, $mimeType = null, $size = null) |
| 383 | 383 | { |
| 384 | - $file = $stubDirPath . $fileName; |
|
| 384 | + $file = $stubDirPath . $fileName; |
|
| 385 | 385 | |
| 386 | 386 | return new UploadedFile($file, $fileName, $mimeType, $size, $error = null, $testMode = true); |
| 387 | 387 | } |
@@ -418,7 +418,7 @@ discard block |
||
| 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 | |