Skip to content

Commit 18951fe

Browse files
committed
[fix] fixed typo bug
1 parent 6b1632e commit 18951fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/XLogServiceProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ public function boot()
2020
public function register()
2121
{
2222
$this->app->singleton(env('XLOG_TRACK_ID_KEY', 'xTrackId'), function ($app) {
23-
return substr(sha1(uniqid('xTrackId'), 0, 10));
23+
return substr(sha1(uniqid('xTrackId')), 0, 10);
2424
});
2525

2626
$this->app->singleton('XLog', function ($app) {
2727
return new \Tartan\Log\XLog($app);
2828
});
2929
}
3030
}
31+
xx

0 commit comments

Comments
 (0)