Browse Source

Relax typehints in FixtureManager.

Until we have better interfaces, relying on duck typing will better
allow alternatives datasources to provide their own fixture features.
Mark Story 11 years ago
parent
commit
c6cbc43229
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/TestSuite/Fixture/FixtureManager.php

+ 1 - 1
src/TestSuite/Fixture/FixtureManager.php

@@ -191,7 +191,7 @@ class FixtureManager
      * @param bool $drop whether drop the fixture if it is already created or not
      * @return void
      */
-    protected function _setupTable(TestFixture $fixture, Connection $db, array $sources, $drop = true)
+    protected function _setupTable($fixture, $db, array $sources, $drop = true)
     {
         if (!empty($fixture->created) && in_array($db->configName(), $fixture->created)) {
             return;