From b46c2cbe8bc9df5e67e3b312e27c99b141c63c5f Mon Sep 17 00:00:00 2001 From: Mikel Date: Thu, 2 Feb 2023 13:31:19 +0100 Subject: [PATCH] added denormalize param hint --- Application/DataTransferObjectInterface.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Application/DataTransferObjectInterface.php b/Application/DataTransferObjectInterface.php index 7de299c..33c19e1 100755 --- a/Application/DataTransferObjectInterface.php +++ b/Application/DataTransferObjectInterface.php @@ -21,6 +21,10 @@ interface DataTransferObjectInterface public function setId(int|string $id); public function getId(); public function normalize(string $context, string $role = ''): array; + + /** + * @param array $data + */ public function denormalize(array $data, string $context, string $role = ''): void; /** * @return array|string>|string>