Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | trait RequireConfirmationBoolNull |
||
8 | { |
||
9 | /** @var bool|null */ |
||
10 | protected $require_confirmation; |
||
11 | |||
12 | /** |
||
13 | * @return bool|null |
||
14 | */ |
||
15 | public function isRequireConfirmation(): ?bool |
||
16 | { |
||
17 | return $this->require_confirmation; |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * @param bool|null $require_confirmation |
||
22 | * |
||
23 | * @return $this |
||
24 | */ |
||
25 | public function setRequireConfirmation(?bool $require_confirmation): self |
||
30 | } |
||
31 | } |
||
32 |