Skip to content

Commit

Permalink
boolish -> boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
inoas committed Oct 5, 2016
1 parent 30d63d1 commit adf76ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Validation/Validation.php
Expand Up @@ -521,12 +521,12 @@ public static function localizedTime($check, $type = 'datetime', $format = null)
} }


/** /**
* Validates if passed value is boolish. * Validates if passed value is boolean.
* *
* The list of what is considered to be boolish values, may be set via $booleanValues. * The list of what is considered to be boolean values, may be set via $booleanValues.
* *
* @param bool|int|string $check Value to check. * @param bool|int|string $check Value to check.
* @param string $booleanValues List of valid boolish values, defaults to `[true, false, 0, 1, '0', '1']`. * @param string $booleanValues List of valid boolean values, defaults to `[true, false, 0, 1, '0', '1']`.
* @return bool Success * @return bool Success
*/ */
public static function boolean($check, array $booleanValues = []) public static function boolean($check, array $booleanValues = [])
Expand Down

0 comments on commit adf76ee

Please sign in to comment.