Skip to content

Commit

Permalink
Catch parent NumberParseException
Browse files Browse the repository at this point in the history
  • Loading branch information
Propaganistas authored Jul 24, 2017
1 parent 4c43969 commit b594222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Validation/Phone.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use Illuminate\Support\Collection;
use libphonenumber\PhoneNumberUtil;
use Propaganistas\LaravelPhone\Exceptions\InvalidParameterException;
use Propaganistas\LaravelPhone\Exceptions\NumberParseException;
use libphonenumber\NumberParseException;
use Propaganistas\LaravelPhone\PhoneNumber;
use Propaganistas\LaravelPhone\Traits\ParsesCountries;
use Propaganistas\LaravelPhone\Traits\ParsesTypes;
Expand Down Expand Up @@ -130,4 +130,4 @@ protected function extractParameters($attribute, array $parameters, array $data)
$inputField,
];
}
}
}

0 comments on commit b594222

Please sign in to comment.