Skip to content
Permalink
Browse files

boolish -> boolean

  • Loading branch information...
inoas committed Oct 5, 2016
1 parent 30d63d1 commit adf76ee24c20029f4fa225a248c494d24a323639
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Validation/Validation.php
@@ -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 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
*/
public static function boolean($check, array $booleanValues = [])

0 comments on commit adf76ee

Please sign in to comment.
You can’t perform that action at this time.