Passed
Pull Request — develop (#4)
by Stephen
03:23
created

PsaCreateCustomTicketResponse   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getReturn() 0 3 1
A withReturn() 0 6 1
1
<?php
2
3
namespace Spinen\Nable\Ncentral\Type;
4
5
6
use Phpro\SoapClient\Type\ResultInterface;
7
8
class PsaCreateCustomTicketResponse implements ResultInterface
9
{
10
11
    /**
12
     * @var \Spinen\Nable\Ncentral\Type\EiCustomPsaTicketResponse
13
     */
14
    private $return;
15
16
    /**
17
     * @return \Spinen\Nable\Ncentral\Type\EiCustomPsaTicketResponse
18
     */
19
    public function getReturn()
20
    {
21
        return $this->return;
22
    }
23
24
    /**
25
     * @param \Spinen\Nable\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