Skip to content

Commit 08c9d5c

Browse files
authored
Merge pull request #35 from luukschakenraad/laravel60
Add support for Laravel 6.0
2 parents fe862c1 + 0541d8c commit 08c9d5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"require": {
1313
"php": ">=7",
14-
"illuminate/support": "5.5.x|5.6.x|5.7.x|5.8.x",
14+
"illuminate/support": "^5.5|^6",
1515
"symfony/form": "^3.4|^4",
1616
"symfony/validator": "^3|^4",
1717
"symfony/twig-bridge": "^3|^4",

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)