Authenticated   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 2
c 1
b 0
f 1
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
/**
3
 * Created by enea dhack - 18/04/2018 11:54.
4
 */
5
6
declare(strict_types=1);
7
8
/**
9
 * @author enea dhack <[email protected]>
10
 *
11
 * For the full copyright and license information, please view the LICENSE
12
 * file that was distributed with this source code.
13
 */
14
15
namespace Enea\Authorization\Facades;
16
17
use Illuminate\Support\Facades\Facade;
18
19
/**
20
 * Class Authenticated.
21
 *
22
 * @package Enea\Authorization\Facades
23
 * @method static void can(string... $permissions)
24
 * @method static void is(string... $roles)
25
 */
0 ignored issues
show
Documentation Bug introduced by
The doc comment string... at position 0 could not be parsed: Unknown type name 'string...' at position 0 in string....
Loading history...
26
class Authenticated extends Facade
27
{
28
    /**
29
     * {@inheritdoc}
30
     */
31 14
    protected static function getFacadeAccessor()
32
    {
33 14
        return \Enea\Authorization\Support\Authenticated::class;
34
    }
35
}
36