From d1bd60b5a7f85cdb4e39cd2a0aa67569a87c4432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9sz=C3=A1ros=20R=C3=B3bert?= Date: Wed, 15 Apr 2020 11:58:14 +0300 Subject: [PATCH] Fix expected type --- modules.local/ppcp-api-client/src/Entity/Payments.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules.local/ppcp-api-client/src/Entity/Payments.php b/modules.local/ppcp-api-client/src/Entity/Payments.php index 4d9083c03..445049024 100644 --- a/modules.local/ppcp-api-client/src/Entity/Payments.php +++ b/modules.local/ppcp-api-client/src/Entity/Payments.php @@ -8,7 +8,10 @@ class Payments { private $authorizations; - public function __construct(Authorization ...$authorizations) + /** + * @var Authorization[] $authorizations + */ + public function __construct(array $authorizations) { $this->authorizations = $authorizations; }