Passed
Push — master ( 1aa207...da253c )
by Manuel
03:24
created

Order::getItems()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php declare(strict_types=1);
2
3
namespace Ticketpark\SaferpayJson\Request\Container;
4
5
use JMS\Serializer\Annotation\SerializedName;
6
use JMS\Serializer\Annotation\Type;
7
8
final class Order
9
{
10
    /**
11
     * @var array<OrderItem>|null
12
     * @SerializedName("Items")
13
     */
14
    private $items = [];
15
16
    public function getItems(): ?array
17
    {
18
        return $this->items;
19
    }
20
21
    public function setItems(?array $items): self
22
    {
23
        $this->items = $items;
24
25
        return $this;
26
    }
27
}
28