Browse Source

Fixing CS errors

Jose Lorenzo Rodriguez 11 years ago
parent
commit
0d511f2fcb
2 changed files with 5 additions and 5 deletions
  1. 4 4
      src/ORM/EagerLoader.php
  2. 1 1
      tests/TestCase/ORM/QueryRegressionTest.php

+ 4 - 4
src/ORM/EagerLoader.php

@@ -383,10 +383,10 @@ class EagerLoader
         }
 
         foreach ($extra as $t => $assoc) {
-               $eagerLoadable->addAssociation(
-                    $t,
-                    $this->_normalizeContain($table, $t, $assoc, $paths)
-               );
+            $eagerLoadable->addAssociation(
+                $t,
+                $this->_normalizeContain($table, $t, $assoc, $paths)
+            );
         }
 
         return $eagerLoadable;

+ 1 - 1
tests/TestCase/ORM/QueryRegressionTest.php

@@ -688,7 +688,7 @@ class QueryRegressionTest extends TestCase
 
         $result = $comments
             ->find()
-            ->matching('Articles.Tags', function($q) {
+            ->matching('Articles.Tags', function ($q) {
                 return $q->where(['Tags.id' => 2]);
             })
                 ->contain('Articles.Authors')