Completed
Push — master ( 3dc30b...6a0dc0 )
by Jhao
04:34 queued 02:01
created

DeliveryTime   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getMax() 0 3 1
A getMin() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Appwilio\RussianPostSDK\Dispatching\Endpoints\Services\Responses;
6
7
use JMS\Serializer\Annotation AS JMS;
8
9
final class DeliveryTime
10
{
11
    /**
12
     * @JMS\SerializedName("min-days")
13
     * @JMS\Type("int")
14
     * @var int
15
     */
16
    private $min;
17
18
    /**
19
     * @JMS\SerializedName("max-days")
20
     * @JMS\Type("int")
21
     * @var int
22
     */
23
    private $max;
24
25
    public function getMin(): int
26
    {
27
        return $this->min;
28
    }
29
30
    public function getMax(): int
31
    {
32
        return $this->max;
33
    }
34
}
35