Skip to content

Commit 83a17d5

Browse files
author
actioussan
committed
Fix: CompanyRepository used wrong Factroy
CompanyRepository::getFactory used MovieFactroy. Changed to CompanyFactory
1 parent 4cb1b49 commit 83a17d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Tmdb/Repository/CompanyRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function getApi()
6969
*/
7070
public function getFactory()
7171
{
72-
return new MovieFactory($this->getClient()->getHttpClient());
72+
return new CompanyFactory($this->getClient()->getHttpClient());
7373
}
7474

7575
/**

0 commit comments

Comments
 (0)