Skip to content
Permalink
Browse files

Fix PHPCS / docs errors.

  • Loading branch information...
markstory committed Jun 1, 2016
1 parent e02b884 commit 3b8e5a03e2cbdb09b0fafe6c08b69d3496214601
Showing with 8 additions and 1 deletion.
  1. +8 −1 src/ORM/Rule/IsUnique.php
@@ -39,7 +39,14 @@ class IsUnique
/**
* Constructor.
*
* ### Options
*
* - `allowMultipleNulls` Set to false to disallow multiple null values in
* multi-column unique rules. By default this is `true` to emulate how SQL UNIQUE
* keys work.
*
* @param array $fields The list of fields to check uniqueness for
* @param array $options The additional options for this rule.
*/
public function __construct(array $fields, array $options = [])
{
@@ -51,8 +58,8 @@ public function __construct(array $fields, array $options = [])
* Performs the uniqueness check
*
* @param \Cake\Datasource\EntityInterface $entity The entity from where to extract the fields
* where the `repository` key is required.
* @param array $options Options passed to the check,
* where the `repository` key is required.
* @return bool
*/
public function __invoke(EntityInterface $entity, array $options)

0 comments on commit 3b8e5a0

Please sign in to comment.
You can’t perform that action at this time.