Skip to content

Commit

Permalink
Update CountryPhoneCallback.php
Browse files Browse the repository at this point in the history
  • Loading branch information
milwad-dev committed Jun 8, 2024
1 parent 7272e72 commit 7f5c2b6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Utils/CountryPhoneCallback.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ class CountryPhoneCallback
{
/**
* Create a new phone validator instance.
*
* @param mixed $value The phone number to validate.
* @param string $code The country codes to validate against. String can be separated by comma
*/
public function __construct(private mixed $value, private string $code, ?string $attribute = null)
{
Expand Down Expand Up @@ -155,8 +152,6 @@ protected function validateZH(): false|int
/**
* Call the phone validator method for each country code and return the results.
*
* @return array An array of validation results, where each key is a country code and the value is either `true` or `false`.
*
* @throws \BadMethodCallException if the validator method for a country code does not exist.
*/
public function callPhoneValidator(): array
Expand Down

0 comments on commit 7f5c2b6

Please sign in to comment.