Skip to content

Commit 7538b64

Browse files
Change deprecated trans() function to get()
1 parent 78898b9 commit 7538b64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function boot()
6060
if (empty($id)) {
6161
return '';
6262
}
63-
return app('translator')->trans($id, $replace, $locale);
63+
return app('translator')->get($id, $replace, $locale);
6464
}));
6565

6666
// csrf_token needs to be replaced for Laravel

0 commit comments

Comments
 (0)