Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb4f0842

Browse files
committed
minor#9805 Update NotBlank constraint description (sidux)
This PR was submitted for the 4.0 branch but it was merged into the 2.7 branch instead (closes#9805).Discussion----------Update NotBlank constraint description<!--If your pull request fixes a BUG, use the oldest maintained branch that containsthe bug (seehttps://symfony.com/roadmap for the list of maintained branches).If your pull request documents a NEW FEATURE, use the same Symfony branch wherethe feature was introduced (and `master` for features of unreleased versions).-->Include `false` in validator NotBlank constraint descriptionCommits-------d059bee Update NotBlank constraint description
2 parents8d3b077 +d059bee commitb4f0842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎reference/constraints/NotBlank.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ NotBlank
22
========
33

44
Validates that a value is not blank - meaning not equal to a blank string,
5-
a blank arrayor ``null``::
5+
a blank array, ``null``or ``false``::
66

77
if (false === $value || (empty($value) && '0' != $value)) {
88
// validation will fail

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp