Browse Source

Fixing CS errors

Jose Lorenzo Rodriguez 11 years ago
parent
commit
f434b03a3d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/Datasource/EntityTrait.php
  2. 1 1
      src/ORM/RulesChecker.php

+ 1 - 1
src/Datasource/EntityTrait.php

@@ -14,9 +14,9 @@
  */
 namespace Cake\Datasource;
 
+use Cake\Collection\Collection;
 use Cake\Utility\Inflector;
 use Cake\Validation\Validator;
-use Cake\Collection\Collection;
 use Traversable;
 
 /**

+ 1 - 1
src/ORM/RulesChecker.php

@@ -202,8 +202,8 @@ class RulesChecker {
  * can only be RulesChecker::CREATE, RulesChecker::UPDATE or RulesChecker::DELETE
  *
  * @param \Cake\Datasource\EntityInterface $entity The entity to check for validity.
- * @return bool
  * @param string $mode Either 'create, 'update' or 'delete'.
+ * @return bool
  * @throws \InvalidArgumentException if an invalid mode is passed.
  */
 	public function check(EntityInterface $entity, $mode) {