From 1e96217a900671ac08e221e1eafdbec79b9de437 Mon Sep 17 00:00:00 2001 From: Michael Roterman Date: Sun, 16 Feb 2014 20:29:20 +0100 Subject: [PATCH] Fixing ResultCollection --- lib/Tmdb/Repository/MovieRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Tmdb/Repository/MovieRepository.php b/lib/Tmdb/Repository/MovieRepository.php index 9f22b22a..2c288ed8 100644 --- a/lib/Tmdb/Repository/MovieRepository.php +++ b/lib/Tmdb/Repository/MovieRepository.php @@ -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) ); }