File tree Expand file tree Collapse file tree 2 files changed +32
-25
lines changed Expand file tree Collapse file tree 2 files changed +32
-25
lines changed Original file line number Diff line number Diff line change 22
33namespace Laravel \Socialite \Facades ;
44
5- use Illuminate \Support \Facades \Facade ;
6- use Laravel \Socialite \Contracts \Factory ;
5+ use Laravel \Socialite \Socialite as SocialiteFacade ;
76
8- /**
9- * @method static \Laravel\Socialite\Contracts\Provider driver(string $driver = null)
10- * @method static \Laravel\Socialite\Two\AbstractProvider buildProvider(string $provider, array $config)
11- * @method static \Laravel\Socialite\SocialiteManager extend(string $driver, \Closure $callback)
12- * @method array getScopes()
13- * @method \Laravel\Socialite\Contracts\Provider scopes(array|string $scopes)
14- * @method \Laravel\Socialite\Contracts\Provider setScopes(array|string $scopes)
15- * @method \Laravel\Socialite\Contracts\Provider redirectUrl(string $url)
16- *
17- * @see \Laravel\Socialite\SocialiteManager
18- */
19- class Socialite extends Facade
20- {
21- /**
22- * Get the registered name of the component.
23- *
24- * @return string
25- */
26- protected static function getFacadeAccessor ()
27- {
28- return Factory::class;
29- }
30- }
7+ class Socialite extends SocialiteFacade {}
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Laravel \Socialite ;
4+
5+ use Illuminate \Support \Facades \Facade ;
6+ use Laravel \Socialite \Contracts \Factory ;
7+
8+ /**
9+ * @method static \Laravel\Socialite\Contracts\Provider driver(string $driver = null)
10+ * @method static \Laravel\Socialite\Two\AbstractProvider buildProvider(string $provider, array $config)
11+ * @method static \Laravel\Socialite\SocialiteManager extend(string $driver, \Closure $callback)
12+ * @method array getScopes()
13+ * @method \Laravel\Socialite\Contracts\Provider scopes(array|string $scopes)
14+ * @method \Laravel\Socialite\Contracts\Provider setScopes(array|string $scopes)
15+ * @method \Laravel\Socialite\Contracts\Provider redirectUrl(string $url)
16+ *
17+ * @see \Laravel\Socialite\SocialiteManager
18+ */
19+ class Socialite extends Facade
20+ {
21+ /**
22+ * Get the registered name of the component.
23+ *
24+ * @return string
25+ */
26+ protected static function getFacadeAccessor ()
27+ {
28+ return Factory::class;
29+ }
30+ }
You can’t perform that action at this time.
0 commit comments