Skip to content

Commit

Permalink
Fixing ResultCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfzdotnet committed Feb 16, 2014
1 parent f9ad7c8 commit 1e96217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Tmdb/Repository/MovieRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ public function getPopular(array $options = array())
*/
public function getTopRated(array $options = array())
{
return $this->createCollection(
return $this->getFactory()->createResultCollection(
$this->getApi()->getTopRated($options)
);
}
Expand Down

0 comments on commit 1e96217

Please sign in to comment.