Skip to content

Commit 6f33dc7

Browse files
binarykgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 986ef97 commit 6f33dc7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/LaravelSegmentManager.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ public function alias(string $previousId, string $userId): void
4040

4141
public function identify(string $userId, array $data)
4242
{
43-
Segment::identify(array(
43+
Segment::identify([
4444
"userId" => $userId,
45-
"traits" => $data
46-
));
45+
"traits" => $data,
46+
]);
4747
}
4848
}

tests/LaravelSegmentTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
use BinarCode\LaravelSegment\Dto\SegmentPayload;
44
use BinarCode\LaravelSegment\Facades\LaravelSegment;
5+
56
use function PHPUnit\Framework\assertInstanceOf;
67

78
it('can send instantiate payload', function () {

0 commit comments

Comments
 (0)