Skip to content

Commit

Permalink
Tweak API doc wording.
Browse files Browse the repository at this point in the history
Mention non-unique values too.

Refs #10110
  • Loading branch information
markstory committed Jan 26, 2017
1 parent b3d71be commit 436e5ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Table.php
Expand Up @@ -2303,7 +2303,7 @@ public function patchEntities($entities, array $data, array $options = [])
* @param array $options The options array, optionally containing the 'scope' key.
* May also be the validation context, if there are no options.
* @param array|null $context Either the validation context or null.
* @return bool True, if the value is unique, or false, if a non-scalar value was given.
* @return bool True if the value is unique, or false if a non-scalar, non-unique value was given.
*/
public function validateUnique($value, array $options, array $context = null)
{
Expand Down

0 comments on commit 436e5ba

Please sign in to comment.