Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryk authored and github-actions[bot] committed Aug 23, 2022
1 parent 986ef97 commit 6f33dc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/LaravelSegmentManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ public function alias(string $previousId, string $userId): void

public function identify(string $userId, array $data)
{
Segment::identify(array(
Segment::identify([
"userId" => $userId,
"traits" => $data
));
"traits" => $data,
]);
}
}
1 change: 1 addition & 0 deletions tests/LaravelSegmentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

use BinarCode\LaravelSegment\Dto\SegmentPayload;
use BinarCode\LaravelSegment\Facades\LaravelSegment;

use function PHPUnit\Framework\assertInstanceOf;

it('can send instantiate payload', function () {
Expand Down

0 comments on commit 6f33dc7

Please sign in to comment.