From 12828bfe02f77d31bb89480510c05b54e52951e9 Mon Sep 17 00:00:00 2001 From: Adam Kadlec Date: Thu, 27 Feb 2020 11:53:43 +0100 Subject: [PATCH] phpstan fixes --- src/IPub/MQTTClient/Client/Client.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/IPub/MQTTClient/Client/Client.php b/src/IPub/MQTTClient/Client/Client.php index d06ecf2..59f4fcd 100644 --- a/src/IPub/MQTTClient/Client/Client.php +++ b/src/IPub/MQTTClient/Client/Client.php @@ -63,67 +63,67 @@ final class Client implements IClient use Nette\SmartObject; /** - * @var Closure + * @var Closure[] */ public $onStart = []; /** - * @var Closure + * @var Closure[] */ public $onOpen = []; /** - * @var Closure + * @var Closure[] */ public $onConnect = []; /** - * @var Closure + * @var Closure[] */ public $onDisconnect = []; /** - * @var Closure + * @var Closure[] */ public $onClose = []; /** - * @var Closure + * @var Closure[] */ public $onPing = []; /** - * @var Closure + * @var Closure[] */ public $onPong = []; /** - * @var Closure + * @var Closure[] */ public $onPublish = []; /** - * @var Closure + * @var Closure[] */ public $onSubscribe = []; /** - * @var Closure + * @var Closure[] */ public $onUnsubscribe = []; /** - * @var Closure + * @var Closure[] */ public $onMessage = []; /** - * @var Closure + * @var Closure[] */ public $onWarning = []; /** - * @var Closure + * @var Closure[] */ public $onError = [];