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

SmartIdCertificate::createResult()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Isign\Login;
4
5
use Isign\ResultInterface;
6
7
class SmartIdCertificate extends AbstractSmartIdQuery
8
{
9
    /**
10
     * API action name, part of full API request url
11
     * @return string
12
     */
13
    public function getAction()
14
    {
15
        return 'smartid/certificate';
16
    }
17
18
    /**
19
     * Result object for this query result
20
     * @return ResultInterface
21
     */
22
    public function createResult()
23
    {
24
        return new SmartIdCertificateResult();
25
    }
26
}
27