From 7367ef3173b3bbc394036abe561598962818fedb Mon Sep 17 00:00:00 2001 From: inoas Date: Fri, 11 Aug 2017 20:36:38 +0200 Subject: [PATCH] Note about allowNullableNulls --- src/ORM/Rule/ExistsIn.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ORM/Rule/ExistsIn.php b/src/ORM/Rule/ExistsIn.php index 738100636ab..5bfa179b1f4 100644 --- a/src/ORM/Rule/ExistsIn.php +++ b/src/ORM/Rule/ExistsIn.php @@ -56,6 +56,8 @@ class ExistsIn * @param object|string $repository The repository where the field will be looked for, * or the association name for the repository. * @param array $options The options that modify the rules behavior. + * Options 'allowNullableNulls' will make the rule pass if given foreign keys are set to `null`. + * Notice: allowNullableNulls cannot pass by database columns set to `NOT NULL`. */ public function __construct($fields, $repository, array $options = []) {