@@ -20,8 +20,8 @@ |
||
20 | 20 | /** |
21 | 21 | * Reduces any input to an ON/OFF value. |
22 | 22 | * |
23 | - * @param mixed $input Data to convert |
|
24 | - * @param mixed $default Fallback to use if $input is NULL |
|
23 | + * @param boolean|null $input Data to convert |
|
24 | + * @param boolean $default Fallback to use if $input is NULL |
|
25 | 25 | * @return string Either ON or OFF |
26 | 26 | */ |
27 | 27 | public static function onOff($input, $default = false) |