Skip to content

Commit

Permalink
Merge pull request #637 from IcarusSosie/fix-unserialize-signature
Browse files Browse the repository at this point in the history
add array type hint to `PhoneNumber::__unserialize`
  • Loading branch information
giggsey authored Jun 20, 2024
2 parents 5a36692 + f419a41 commit f662a7e
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 f662a7e

Please sign in to comment.