Navigation Menu

Skip to content

Commit

Permalink
Relax typehints in FixtureManager.
Browse files Browse the repository at this point in the history
Until we have better interfaces, relying on duck typing will better
allow alternatives datasources to provide their own fixture features.
  • Loading branch information
markstory committed Apr 6, 2015
1 parent a439d75 commit c6cbc43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TestSuite/Fixture/FixtureManager.php
Expand Up @@ -191,7 +191,7 @@ protected function _loadFixtures($test)
* @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;
Expand Down

0 comments on commit c6cbc43

Please sign in to comment.