Passed
Push — master ( d54f6c...8277b0 )
by Giancarlos
02:59
created

SummaryResult::getTicket()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Giansalex
5
 * Date: 21/07/2017
6
 * Time: 23:19
7
 */
8
9
namespace Greenter\Model\Response;
10
11
/**
12
 * Class SummaryResult
13
 * @package Greenter\Model\Response
14
 */
15
class SummaryResult extends BaseResult
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $ticket;
21
22
    /**
23
     * @return string
24
     */
25 2
    public function getTicket()
26
    {
27 2
        return $this->ticket;
28
    }
29
30
    /**
31
     * @param string $ticket
32
     * @return SummaryResult
33
     */
34 2
    public function setTicket($ticket)
35
    {
36 2
        $this->ticket = $ticket;
37 2
        return $this;
38
    }
39
}