Browse Source

Fixing doc blocks

Jose Lorenzo Rodriguez 11 years ago
parent
commit
1c01e779ba
2 changed files with 2 additions and 0 deletions
  1. 1 0
      src/ORM/RulesChecker.php
  2. 1 0
      src/ORM/Table.php

+ 1 - 0
src/ORM/RulesChecker.php

@@ -203,6 +203,7 @@ class RulesChecker {
  *
  * @param \Cake\Datasource\EntityInterface $entity The entity to check for validity.
  * @return bool
+ * @param string $mode Either 'create, 'update' or 'delete'.
  * @throws \InvalidArgumentException if an invalid mode is passed.
  */
 	public function check(EntityInterface $entity, $mode) {

+ 1 - 0
src/ORM/Table.php

@@ -1905,6 +1905,7 @@ class Table implements RepositoryInterface, EventListenerInterface {
  * the rules checker.
  *
  * @param \Cake\Datasource\EntityInterface $entity The entity to check for validity.
+ * @param string $operation Either 'create, 'update' or 'delete'.
  * @return bool
  */
 	public function checkRules(EntityInterface $entity, $operation = RulesChecker::CREATE) {