Skip to content

Commit f74a527

Browse files
committed
Edit LaravelOAuthProvider
1 parent 3978220 commit f74a527

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

src/LaravelOAuthServiceProvider.php

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,15 @@ public function register()
6565
}
6666

6767
/**
68+
* Get the services provided by the provider.
6869
*
69-
* Add Instagram to Socialite
70+
* @return array
7071
*/
72+
public function provides()
73+
{
74+
return ['laravelsocialite'];
75+
}
76+
7177
private function bootInstagramSocialite()
7278
{
7379
$socialite = $this->app->make(\Laravel\Socialite\Contracts\Factory::class);
@@ -79,14 +85,4 @@ function ($app) use ($socialite) {
7985
}
8086
);
8187
}
82-
83-
/**
84-
* Get the services provided by the provider.
85-
*
86-
* @return array
87-
*/
88-
public function provides()
89-
{
90-
return ['laravelsocialite'];
91-
}
9288
}

0 commit comments

Comments
 (0)