From f419a41bcacbe43fe00fece1741c7c35637ec535 Mon Sep 17 00:00:00 2001 From: Robinson Christmann Date: Tue, 18 Jun 2024 17:24:28 +0200 Subject: [PATCH] add array type hint to PhoneNumber->unserialize --- src/PhoneNumber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhoneNumber.php b/src/PhoneNumber.php index a2ec4f90..466d33d8 100644 --- a/src/PhoneNumber.php +++ b/src/PhoneNumber.php @@ -584,7 +584,7 @@ public function unserialize($serialized) $this->__unserialize(unserialize($serialized)); } - public function __unserialize($data) + public function __unserialize(array $data) { list( $this->countryCode,