Browse Source

Not returning false in function that is meant to return void

José Lorenzo Rodríguez 11 years ago
parent
commit
203ac144d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ORM/Association.php

+ 1 - 1
src/ORM/Association.php

@@ -642,7 +642,7 @@ abstract class Association
         $autoFields = $surrogate->autoFields();
 
         if ($query->eagerLoader()->autoFields() === false) {
-            return false;
+            return;
         }
 
         if (empty($fields) && !$autoFields) {