Skip to content

Commit 19f6dde

Browse files
committed
Merge pull request #71 from wtfzdotnet/issue-59
Updating the DiscoverMoviesQuery object to support all the new filters.
2 parents d9d7ecf + 26e8953 commit 19f6dde

File tree

3 files changed

+351
-102
lines changed

3 files changed

+351
-102
lines changed

lib/Tmdb/Model/Collection/Genres.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,13 @@ public function getGenre($id)
5151
/**
5252
* Add a genre to the collection
5353
*
54-
* @param Genre $genre
54+
* @param Genre $genre
55+
* @return $this
5556
*/
5657
public function addGenre(Genre $genre)
5758
{
5859
$this->data[] = $genre;
60+
61+
return $this;
5962
}
6063
}

0 commit comments

Comments
 (0)