Skip to content

Commit b4f0842

Browse files
committed
minor symfony#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 symfony#9805). Discussion ---------- Update NotBlank constraint description <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Include `false` in validator NotBlank constraint description Commits ------- d059bee Update NotBlank constraint description
2 parents 8d3b077 + d059bee commit b4f0842

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 array or ``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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy