Skip to content

Commit

Permalink
add array type hint to PhoneNumber->unserialize
Browse files Browse the repository at this point in the history
  • Loading branch information
IcarusSosie committed Jun 18, 2024
1 parent 5a36692 commit f419a41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhoneNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ public function unserialize($serialized)
$this->__unserialize(unserialize($serialized));
}

public function __unserialize($data)
public function __unserialize(array $data)
{
list(
$this->countryCode,
Expand Down

0 comments on commit f419a41

Please sign in to comment.