Skip to content

Commit 2e513c3

Browse files
authored
Merge pull request esazykin#5 from esazykin/analysis-8mB6PY
Apply fixes from StyleCI
2 parents 1f74d1a + 04af8ad commit 2e513c3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/Unit/Database/Eloquent/CollectionTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
namespace Esazykin\LaravelClickHouse\Tests\Unit\Database\Eloquent;
66

7-
use Carbon\Carbon;
87
use Mockery\Mock;
8+
use Carbon\Carbon;
99
use PHPUnit\Framework\TestCase;
1010
use Illuminate\Database\DatabaseManager;
1111
use Esazykin\LaravelClickHouse\Tests\Helpers;
@@ -42,7 +42,7 @@ public function testMapModelToModel()
4242
{
4343
$connectionResult = collect()
4444
->times(5, function (int $id) {
45-
return ['id' => $id,];
45+
return ['id' => $id];
4646
});
4747

4848
$this->connection
@@ -72,7 +72,7 @@ public function testMapModelToArray()
7272
{
7373
$connectionResult = collect()
7474
->times(5, function (int $id) {
75-
return ['id' => $id,];
75+
return ['id' => $id];
7676
});
7777

7878
$this->connection
@@ -107,7 +107,7 @@ public function testFind($key)
107107
{
108108
$connectionResult = collect()
109109
->times(5, function (int $id) {
110-
return ['id' => $id,];
110+
return ['id' => $id];
111111
});
112112

113113
$this->connection
@@ -130,7 +130,7 @@ public function testContains()
130130

131131
$connectionResult = collect()
132132
->times(5, function (int $id) {
133-
return ['id' => $id,];
133+
return ['id' => $id];
134134
});
135135

136136
$this->connection
@@ -146,7 +146,7 @@ public function testGet()
146146
->times(5, function (int $id) {
147147
return [
148148
'id' => $id,
149-
'floatAttribute' => (string)$this->faker()->randomFloat(2),
149+
'floatAttribute' => (string) $this->faker()->randomFloat(2),
150150
];
151151
});
152152

@@ -181,9 +181,9 @@ public function findDataProvider()
181181
[
182182
tap(new EloquentModelCastingTest, function (EloquentModelCastingTest $model) {
183183
$model->id = 5;
184-
})
184+
}),
185185
],
186-
[1, 5,]
186+
[1, 5],
187187
];
188188
}
189189
}

0 commit comments

Comments
 (0)