Skip to content

Commit

Permalink
Unnecessary call.
Browse files Browse the repository at this point in the history
  • Loading branch information
djlambert committed Sep 18, 2012
1 parent 256c0b5 commit b973261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/Common/DataFixtures/Loader.php
Expand Up @@ -138,7 +138,7 @@ public function addFixture(FixtureInterface $fixture)
if (!isset($this->fixtures[$fixtureClass])) {
if ($fixture instanceof OrderedFixtureInterface && $fixture instanceof DependentFixtureInterface) {
throw new \InvalidArgumentException(sprintf('Class "%s" can\'t implement "%s" and "%s" at the same time.',
get_class($fixture),
$fixtureClass,
'OrderedFixtureInterface',
'DependentFixtureInterface'));
} elseif ($fixture instanceof OrderedFixtureInterface) {
Expand Down

0 comments on commit b973261

Please sign in to comment.