Skip to content

Commit 7de725c

Browse files
committed
Apply fixes from StyleCI
1 parent 4c0e015 commit 7de725c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/ScopesTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

3-
use Astrotomic\Translatable\Test\Model\Country;
43
use Astrotomic\Translatable\Test\Model\Food;
4+
use Astrotomic\Translatable\Test\Model\Country;
55
use Astrotomic\Translatable\Test\Model\Vegetable;
66

77
final class ScopesTest extends TestsBase
@@ -213,11 +213,10 @@ public function test_orderByTranslation_sorts_by_key_desc()
213213
$this->assertSame(1, $result->first()->id);
214214
}
215215

216-
217216
public function test_orderByTranslation_sorts_by_key_asc_even_if_locale_is_missing()
218217
{
219-
Food::create(['en' => ['name' => 'Potatoes'],'fr' => ['name' => 'Pommes de Terre']]);
220-
Food::create(['en' => ['name' => 'Strawberries'],'fr' => ['name' => 'Fraises']]);
218+
Food::create(['en' => ['name' => 'Potatoes'], 'fr' => ['name' => 'Pommes de Terre']]);
219+
Food::create(['en' => ['name' => 'Strawberries'], 'fr' => ['name' => 'Fraises']]);
221220
Food::create([]);
222221

223222
$orderInEnglish = Food::with('translations')->orderByTranslation('name')->get();

0 commit comments

Comments
 (0)