ConfigureGithubSocialLogin   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 23
ccs 0
cts 8
cp 0
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A infoURL() 0 4 1
A name() 0 4 1
1
<?php
2
3
namespace Acacha\LaravelSocial\Services;
4
5
/**
6
 * Class ConfigureGithubSocialLogin.
7
 *
8
 * @package Acacha\LaravelSocial\Services
9
 */
10
class ConfigureGithubSocialLogin extends ConfigureSocialLogin
11
{
12
13
    /**
14
     * OAuth client registration info URL.
15
     *
16
     * @return string
17
     */
18
    protected function infoURL()
19
    {
20
        return 'https://github.com/settings/applications/new';
21
    }
22
23
    /**
24
     * Social network name.
25
     *
26
     * @return mixed
27
     */
28
    protected function name()
29
    {
30
        return 'github';
31
    }
32
}
33