10000 Using singleton method instead share · laravel24/laravel-filemanager@3716c85 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3716c85

Browse files
jaimesaresyouchenlee
authored andcommitted
Using singleton method instead share
1 parent 4ad58cb commit 3716c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelFilemanagerServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function boot()
4444
*/
4545
public function register()
4646
{
47-
$this->app['laravel-filemanager'] = $this->app->share(function ()
47+
$this->app->singleton('laravel-filemanager', function ()
4848
{
4949
return true;
5050
});

0 commit comments

Comments
 (0)
0