Skip to content

Commit

Permalink
Merge pull request #94 from actioussan/patch-1
Browse files Browse the repository at this point in the history
Fix: CompanyRepository used wrong Factroy
  • Loading branch information
wtfzdotnet committed Jul 22, 2015
2 parents 4150d71 + 83a17d5 commit a60e1ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Tmdb/Repository/CompanyRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function getApi()
*/
public function getFactory()
{
return new MovieFactory($this->getClient()->getHttpClient());
return new CompanyFactory($this->getClient()->getHttpClient());
}

/**
Expand Down

0 comments on commit a60e1ec

Please sign in to comment.