We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ae4bf7 commit a0d2f36Copy full SHA for a0d2f36
src/Utils.php
@@ -65,6 +65,8 @@ public static function validateClassName($value) {
65
* Required value validator.
66
*/
67
public static function validateRequired($value) {
68
+ // FALSE is not considered as empty value because question helper use
69
+ // it as negative answer on confirmation questions.
70
if ($value === NULL || $value === '') {
71
return 'The value is required.';
72
}
0 commit comments