Skip to content

Commit f1503b9

Browse files
author
Adam Engebretson
committed
Fixing deprecated method calls
Signed-off-by: Adam Engebretson <[email protected]>
1 parent fae45d3 commit f1503b9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/RemoteServiceProvider.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ class RemoteServiceProvider extends ServiceProvider
2323
*/
2424
protected $defer = true;
2525

26+
/**
27+
* Boot the Service Provider
28+
*/
2629
public function boot()
2730
{
2831
$this->publishes([
@@ -39,7 +42,7 @@ public function boot()
3942
*/
4043
public function register()
4144
{
42-
$this->app->bindShared('remote', function ($app) {
45+
$this->app->singleton('remote', function ($app) {
4346
return new RemoteManager($app);
4447
});
4548
}

0 commit comments

Comments
 (0)