Skip to content

Commit

Permalink
Merge pull request #29 from claudio-dalicandro/patch-1
Browse files Browse the repository at this point in the history
FixtureManager::addProvider() Fixed
  • Loading branch information
h4cc committed Sep 19, 2014
2 parents 147f5f1 + c66356a commit 3754d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fixtures/FixtureManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public function setProviders(array $providers)
public function addProvider($provider)
{
$this->providers[] = $provider;
$this->providers = array_unique($this->providers);
$this->providers = array_unique($this->providers, SORT_REGULAR);
$this->logDebug('Added provider: ' . get_class($provider));
}

Expand Down

0 comments on commit 3754d21

Please sign in to comment.