Skip to content

Commit

Permalink
Updating MovieFactory to actually use the ReviewFactory::createCollec…
Browse files Browse the repository at this point in the history
…tion method
  • Loading branch information
wtfzdotnet committed Feb 23, 2014
1 parent 5201ced commit 4804868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Tmdb/Factory/MovieFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public function create(array $data = array())
}

if (array_key_exists('reviews', $data)) {
$movie->setReviews($this->getReviewFactory()->createResultCollection($data['reviews']));
$movie->setReviews($this->getReviewFactory()->createCollection($data['reviews']));
}

if (array_key_exists('lists', $data)) {
Expand Down

0 comments on commit 4804868

Please sign in to comment.