Auth   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: afshin
5
 * Date: 11/24/17
6
 * Time: 1:08 PM
7
 */
8
9
namespace Core\Facades;
10
11
use Core\Services\AuthService;
12
use SlimFacades\Facade;
13
class Auth extends Facade
14
{
15
    /**
16
     * @param Core\Services\AuthService\AuthService
17
     * @return AuthService
18
    */
19
    protected static function getFacadeAccessor()
20
    {
21
        return 'AuthService';
0 ignored issues
show
Bug Best Practice introduced by
The expression return 'AuthService' returns the type string which is incompatible with the documented return type Core\Services\AuthService.
Loading history...
22
    }
23
}
24