Passed
Push — develop ( e4ecab...665307 )
by Enea
04:44
created

Authenticated::getFacadeAccessor()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
crap 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