@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace App\Ship\Parents\Tests\PhpUnit; |
4 | 4 | |
5 | 5 | use App\Ship\Engine\Kernels\ShipConsoleKernel; |
6 | -use App\Ship\Features\Tests\PhpUnit\TestingTrait; |
|
7 | 6 | use App\Ship\Features\Tests\PhpUnit\TestsAuthHelperTrait; |
8 | 7 | use App\Ship\Features\Tests\PhpUnit\TestsCustomHelperTrait; |
9 | 8 | use App\Ship\Features\Tests\PhpUnit\TestsMockHelperTrait; |
@@ -63,7 +63,7 @@ |
||
63 | 63 | private function findLanguage($request) |
64 | 64 | { |
65 | 65 | // read the language from the request header, if the header is missed, take the default local language |
66 | - return $request->header('Content-Language') ? : Config::get('app.locale'); |
|
66 | + return $request->header('Content-Language') ?: Config::get('app.locale'); |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |