Browse Source

Fix exception message

Robert Pustułka 9 years ago
parent
commit
603a32ede9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/ORM/Association.php

+ 2 - 2
src/ORM/Association.php

@@ -406,8 +406,8 @@ abstract class Association
             if (!is_a($this->_targetTable, $className)) {
                 throw new RuntimeException(sprintf(
                     'Invalid Table retrieved from a registry. Requested: %s, got: %s',
-                    get_class($this->_targetTable),
-                    $className
+                    $className,
+                    get_class($this->_targetTable)
                 ));
             }
         }