Passed
Push — develop ( d0561f...3c99fb )
by Enea
03:29
created

AuthorizationNotGrantedException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getOperationName() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
/**
6
 * Created on 18/02/18 by enea dhack.
7
 */
8
9
namespace Enea\Authorization\Exceptions;
10
11
class AuthorizationNotGrantedException extends UncompletedOperationException
12
{
13 2
    protected function getOperationName(): string
14
    {
15 2
        return 'granted';
16
    }
17
}
18