From 07ebbb7d93c6bcce12edf5f23c34ddaf30c6f909 Mon Sep 17 00:00:00 2001 From: Ahmed Lebbada <1242225+sidux@users.noreply.github.com> Date: Tue, 22 May 2018 15:22:03 +0200 Subject: [PATCH] Update NotBlank constraint description --- reference/constraints/NotBlank.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/constraints/NotBlank.rst b/reference/constraints/NotBlank.rst index 99eff50d7e4..558d2332f0c 100644 --- a/reference/constraints/NotBlank.rst +++ b/reference/constraints/NotBlank.rst @@ -2,7 +2,7 @@ NotBlank ======== Validates that a value is not blank - meaning not equal to a blank string, -a blank array or ``null``:: +a blank array, ``null`` or ``false``:: if (false === $value || (empty($value) && '0' != $value)) { // validation will fail