From 2aeb12ea6aa311d9c2acec67144871ac6a217aed Mon Sep 17 00:00:00 2001 From: Dmitry Matvienko Date: Fri, 1 Oct 2021 15:26:07 +0300 Subject: [PATCH] Fix Correction getCashier return type --- src/V4/DTO/Correction/Correction.php | 2 +- src/V5/DTO/Correction/Correction.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/V4/DTO/Correction/Correction.php b/src/V4/DTO/Correction/Correction.php index 00ccfbe..84e3064 100644 --- a/src/V4/DTO/Correction/Correction.php +++ b/src/V4/DTO/Correction/Correction.php @@ -119,7 +119,7 @@ public function setVats(array $vats): self return $this; } - public function getCashier(): string + public function getCashier(): ?string { return $this->cashier; } diff --git a/src/V5/DTO/Correction/Correction.php b/src/V5/DTO/Correction/Correction.php index fd89c96..343bc9a 100644 --- a/src/V5/DTO/Correction/Correction.php +++ b/src/V5/DTO/Correction/Correction.php @@ -204,7 +204,7 @@ public function setVats(array $vats): self return $this; } - public function getCashier(): string + public function getCashier(): ?string { return $this->cashier; }