Skip to content

Commit 642c8e0

Browse files
committed
lint: cs fix
1 parent ef71af6 commit 642c8e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/CollectionTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ public function test_each()
6868

6969
public function test_map_collect()
7070
{
71-
$mapped = _::_([1, 2, 3])->map(function ($num) {
71+
$mapped = _::_([1, 2, 3])->map(function ($num) {
7272
return $num * 2;
7373
});
7474

7575
$this->assertSame([2, 4, 6], $mapped->get(), 'callback applied on each member');
7676

77-
$mapped = _::_([['a' => 1], ['a' => 2]])->collect(function ($row) {
77+
$mapped = _::_([['a' => 1], ['a' => 2]])->collect(function ($row) {
7878
return $row['a'];
7979
});
8080

@@ -218,8 +218,8 @@ public function test_pluck()
218218
$names = $people->pluck('name')->get();
219219
$ages = $people->pluck('age')->get();
220220

221-
$this->assertSame(['moe', 'curly'], $names, 'pluck names');
222-
$this->assertSame([30], $ages, 'pluck ages');
221+
$this->assertSame(['moe', 'curly'], $names, 'pluck names');
222+
$this->assertSame([30], $ages, 'pluck ages');
223223
}
224224

225225
public function test_where()

0 commit comments

Comments
 (0)