Skip to content

Commit

Permalink
Update doc block and fix phpcs error.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 27, 2014
1 parent 6b9bf35 commit 8d605f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ORM/Table.php
Expand Up @@ -1907,6 +1907,7 @@ public function validateUnique($value, array $options, array $context = []) {
* the rules checker.
*
* @param \Cake\Datasource\EntityInterface $entity The entity to check for validity.
* @param string $operation The operation being run. Either 'create', 'update' or 'delete'.
* @param \ArrayObject|array $options The options To be passed to the rules.
* @param string $operation Either 'create, 'update' or 'delete'.
* @return bool
Expand Down

2 comments on commit 8d605f4

@dereuromark
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't $operation in there twice now?

@markstory
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, I fail at reading. I'll fix that.

Please sign in to comment.