Skip to content

Commit 7dab11a

Browse files
committed
Fixes a bug
1 parent e62888e commit 7dab11a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/HtmlGenerators/.php_cs.cache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"php":"5.6.24","version":"2.1.2:","rules":{"encoding":true,"full_opening_tag":true,"blank_line_after_namespace":true,"braces":true,"class_definition":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_constants":true,"lowercase_keywords":true,"method_argument_space":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":["property"],"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":true},"hashes":{"GenerateFormViews.php":945491809,"HtmlGeneratorBase.php":260638370,"LaravelCollectiveHtml.php":382217718,"StandardHtml.php":967239408}}
1+
{"php":"5.6.24","version":"2.1.2:","rules":{"encoding":true,"full_opening_tag":true,"blank_line_after_namespace":true,"braces":true,"class_definition":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_constants":true,"lowercase_keywords":true,"method_argument_space":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":["property"],"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":true},"hashes":{"GenerateFormViews.php":945491809,"HtmlGeneratorBase.php":1054343904,"LaravelCollectiveHtml.php":382217718,"StandardHtml.php":967239408}}

src/HtmlGenerators/HtmlGeneratorBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ protected function getPickItemsHtml(Field $field, ValidationParser $parser)
326326
}
327327
}
328328

329-
$this->wrapField($fields, $field, true, (($field->htmlType == 'checkbox') && !$field->isBoolean) ? 'required' : '');
329+
$this->wrapField($fields, $field, true, (($field->htmlType == 'checkbox') && !$field->isBoolean()) ? 'required' : '');
330330

331331
return $fields;
332332
}

0 commit comments

Comments
 (0)