Skip to content

Commit

Permalink
CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Propaganistas committed Jan 1, 2016
1 parent f871c71 commit 1941227
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/PhoneValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class PhoneValidator
/**
* Whether to allow lenient checking of numbers (i.e. landline without area codes).
*
* @var object
* @var bool
*/
protected $lenient = false;

Expand Down Expand Up @@ -117,7 +117,7 @@ protected function assignParameters(array $parameters)
* When using a country field, we should validate to false if country is empty so no exception
* will be thrown.
*
* @param $attribute
* @param string $attribute
* @param $validator
* @throws \Propaganistas\LaravelPhone\Exceptions\NoValidCountryFoundException
*/
Expand Down Expand Up @@ -185,7 +185,7 @@ protected function isValidNumber($number, $country = null)
protected function parseTypes(array $types)
{
// Transform types to their namespaced class constant.
array_walk($types, function (&$type) {
array_walk($types, function(&$type) {
$type = constant('\libphonenumber\PhoneNumberType::' . $type);
});

Expand Down
2 changes: 1 addition & 1 deletion src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
if (!function_exists('phone_format')) {
/**
* Formats a phone number and country for display.
*
*
* @param string $phone
* @param string $country
* @param int|null $format
Expand Down

0 comments on commit 1941227

Please sign in to comment.