Skip to content

Commit

Permalink
Note about allowNullableNulls
Browse files Browse the repository at this point in the history
  • Loading branch information
inoas committed Aug 11, 2017
1 parent 2b73b0a commit 7367ef3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ORM/Rule/ExistsIn.php
Expand Up @@ -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 = [])
{
Expand Down

0 comments on commit 7367ef3

Please sign in to comment.