Skip to content
This repository was archived by the owner on Jul 16, 2020. It is now read-only.

Commit 0bea6a8

Browse files
authored
Merge pull request #10 from yateric/patch-1
share() method has depreciated in Laravel 5.4
2 parents 52c3719 + ebc48e7 commit 0bea6a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GeneratorProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class GeneratorProvider extends ServiceProvider
1818
*/
1919
public function boot()
2020
{
21-
$this->app[ 'vue-i18n.generate' ] = $this->app->share(function () {
21+
$this->app->singleton('vue-i18n.generate', function () {
2222
return new Commands\GenerateInclude;
2323
});
2424

0 commit comments

Comments
 (0)