OktaServiceProvider::register()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 6
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Tequilarapido\Okta;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class OktaServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Register the service provider.
11
     *
12
     * @return void
13
     */
14
    public function register()
15
    {
16
        $this->app->singleton('Laravel\Socialite\Contracts\Factory', function ($app) {
17
            return new SocialiteManager($app);
18
        });
19
    }
20
}
21