From ae38166b539c118ea955ce22483aeaf898b6df68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1chym=20Tou=C5=A1ek?= Date: Wed, 9 Aug 2017 19:03:57 +0200 Subject: [PATCH] Fix annotation (#872) --- lib/PayPal/Common/PayPalModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PayPal/Common/PayPalModel.php b/lib/PayPal/Common/PayPalModel.php index b8ede1cb..65ee8ddd 100644 --- a/lib/PayPal/Common/PayPalModel.php +++ b/lib/PayPal/Common/PayPalModel.php @@ -38,7 +38,7 @@ public static function setCredential($credential) * You can pass data as a json representation or array object. This argument eliminates the need * to do $obj->fromJson($data) later after creating the object. * - * @param null $data + * @param array|string|null $data * @throws \InvalidArgumentException */ public function __construct($data = null)