Completed
Pull Request — develop (#9)
by
unknown
03:41
created

SmartId   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A createResult() 0 4 1
A getAction() 0 4 1
1
<?php
2
namespace Isign\Login;
3
4
/**
5
 * Login using SmartId.
6
 */
7
class SmartId extends AbstractSmartIdQuery
8
{
9
    /**
10
     * Result object for this query result
11
     * 
12
     * @return SmartIdResult
13
     */
14 1
    public function createResult()
15
    {
16 1
        return new SmartIdResult();
17
    }
18
19
    /**
20
     * API action name, part of full API request url
21
     * @return string
22
     */
23 1
    public function getAction()
24
    {
25 1
        return 'smartid/login';
26
    }
27
}
28