PsaCreateCustomTicketResponse   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A withReturn() 0 6 1
A getReturn() 0 3 1
1
<?php
2
3
namespace Spinen\Ncentral\Type;
4
5
6
use Phpro\SoapClient\Type\ResultInterface;
7
8
class PsaCreateCustomTicketResponse implements ResultInterface
9
{
10
11
    /**
12
     * @var \Spinen\Ncentral\Type\EiCustomPsaTicketResponse
13
     */
14
    private $return;
15
16
    /**
17
     * @return \Spinen\Ncentral\Type\EiCustomPsaTicketResponse
18
     */
19
    public function getReturn()
20
    {
21
        return $this->return;
22
    }
23
24
    /**
25
     * @param \Spinen\Ncentral\Type\EiCustomPsaTicketResponse $return
26
     * @return PsaCreateCustomTicketResponse
27
     */
28
    public function withReturn($return)
29
    {
30
        $new = clone $this;
31
        $new->return = $return;
32
33
        return $new;
34
    }
35
36
37
}
38
39