diff --git a/lib/Tmdb/Api/Account.php b/lib/Tmdb/Api/Account.php index 0c74abc7..34a25c5f 100644 --- a/lib/Tmdb/Api/Account.php +++ b/lib/Tmdb/Api/Account.php @@ -20,12 +20,10 @@ class Account /** * Get the basic information for an account. You will need to have a valid session id. * - * @param array $options - * @param array $headers * @throws NotImplementedException * @return mixed */ - public function getAccount(array $options = array(), array $headers = array()) + public function getAccount() { throw new NotImplementedException(__METHOD__ . ' has not been implemented yet.'); } @@ -33,13 +31,10 @@ public function getAccount(array $options = array(), array $headers = array()) /** * Get the lists that you have created and marked as a favorite. * - * @param $account_id - * @param $options array - * @param array $headers * @throws NotImplementedException * @return mixed */ - public function getLists($account_id, array $options = array(), array $headers = array()) + public function getLists() { throw new NotImplementedException(__METHOD__ . ' has not been implemented yet.'); } @@ -47,13 +42,10 @@ public function getLists($account_id, array $options = array(), array $headers = /** * Get the list of favorite movies for an account. * - * @param $account_id - * @param array $options - * @param array $headers * @throws NotImplementedException * @return mixed */ - public function getFavoriteMovies($account_id, array $options = array(), array $headers = array()) + public function getFavoriteMovies() { throw new NotImplementedException(__METHOD__ . ' has not been implemented yet.'); } @@ -61,13 +53,10 @@ public function getFavoriteMovies($account_id, array $options = array(), array $ /** * Add or remove a movie to an accounts favorite list. * - * @param $account_id - * @param array $options - * @param array $headers * @throws NotImplementedException * @return mixed */ - public function favorite($account_id, array $options = array(), array $headers = array()) + public function favorite() { throw new NotImplementedException(__METHOD__ . ' has not been implemented yet.'); } @@ -75,13 +64,10 @@ public function favorite($account_id, array $options = array(), array $headers = /** * Get the list of rated movies (and associated rating) for an account. * - * @param $account_id - * @param array $options - * @param array $headers * @throws NotImplementedException * @return mixed */ - public function getRatedMovies($account_id, array $options = array(), array $headers = array()) + public function getRatedMovies() { throw new NotImplementedException(__METHOD__ . ' has not been implemented yet.'); } @@ -89,13 +75,10 @@ public function getRatedMovies($account_id, array $options = array(), array $hea /** * Get the list of movies on an accounts watchlist. * - * @param $account_id - * @param array $options - * @param array $headers * @throws NotImplementedException * @return mixed */ - public function getMovieWatchlist($account_id, array $options = array(), array $headers = array()) + public function getMovieWatchlist() { throw new NotImplementedException(__METHOD__ . ' has not been implemented yet.'); } @@ -103,13 +86,10 @@ public function getMovieWatchlist($account_id, array $options = array(), array $ /** * Add or remove a movie to an accounts watch list. * - * @param $account_id - * @param array $options - * @param array $headers * @throws NotImplementedException * @return mixed */ - public function watchlist($account_id, array $options = array(), array $headers = array()) + public function watchlist() { throw new NotImplementedException(__METHOD__ . ' has not been implemented yet.'); } diff --git a/lib/Tmdb/Api/Authentication.php b/lib/Tmdb/Api/Authentication.php index 30cb5af5..5a744b3b 100644 --- a/lib/Tmdb/Api/Authentication.php +++ b/lib/Tmdb/Api/Authentication.php @@ -24,12 +24,10 @@ class Authentication * You can generate any number of request tokens but they will expire after 60 minutes. * As soon as a valid session id has been created the token will be destroyed. * - * @param array $options - * @param array $headers * @throws NotImplementedException * @return mixed */ - public function getNewToken(array $options = array(), array $headers = array()) + public function getNewToken() { throw new NotImplementedException(__METHOD__ . ' has not been implemented yet.'); } @@ -38,13 +36,10 @@ public function getNewToken(array $options = array(), array $headers = array()) * This method is used to generate a session id for user based authentication. * A session id is required in order to use any of the write methods. * - * @param $request_token - * @param $options array - * @param array $headers * @throws NotImplementedException * @return mixed */ - public function getNewSession($request_token, array $options = array(), array $headers = array()) + public function getNewSession() { throw new NotImplementedException(__METHOD__ . ' has not been implemented yet.'); } @@ -60,12 +55,10 @@ public function getNewSession($request_token, array $options = array(), array $h * * If a guest session is not used for the first time within 24 hours, it will be automatically discarded. * - * @param array $options - * @param array $headers * @throws NotImplementedException * @return mixed */ - public function getNewGuestSession(array $options = array(), array $headers = array()) + public function getNewGuestSession() { throw new NotImplementedException(__METHOD__ . ' has not been implemented yet.'); } diff --git a/lib/Tmdb/Api/Lists.php b/lib/Tmdb/Api/Lists.php index db9322da..62592372 100644 --- a/lib/Tmdb/Api/Lists.php +++ b/lib/Tmdb/Api/Lists.php @@ -33,14 +33,10 @@ public function getList($list_id, array $options = array(), array $headers = arr /** * This method lets users create a new list. A valid session id is required. * - * @param $name - * @param $description - * @param $options array - * @param array $headers * @throws NotImplementedException * @return mixed */ - public function createList($name, $description, array $options = array(), array $headers = array()) + public function createList() { throw new NotImplementedException(__METHOD__ . ' has not been implemented yet.'); } @@ -48,14 +44,10 @@ public function createList($name, $description, array $options = array(), array /** * Check to see if a movie ID is already added to a list. * - * @param $list_id - * @param $movie_id - * @param array $options - * @param array $headers * @throws NotImplementedException * @return mixed */ - public function getItemStatus($list_id, $movie_id, array $options = array(), array $headers = array()) + public function getItemStatus() { throw new NotImplementedException(__METHOD__ . ' has not been implemented yet.'); } @@ -63,14 +55,10 @@ public function getItemStatus($list_id, $movie_id, array $options = array(), arr /** * Get the cast information for a specific list id. * - * @param $list_id - * @param $media_id - * @param array $options - * @param array $headers * @throws NotImplementedException * @return mixed */ - public function addMediaToList($list_id, $media_id, array $options = array(), array $headers = array()) + public function addMediaToList() { throw new NotImplementedException(__METHOD__ . ' has not been implemented yet.'); } @@ -78,14 +66,10 @@ public function addMediaToList($list_id, $media_id, array $options = array(), ar /** * Get the images (posters and backdrops) for a specific list id. * - * @param $list_id - * @param $media_id - * @param array $options - * @param array $headers * @throws NotImplementedException * @return mixed */ - public function removeMediaFromList($list_id, $media_id, array $options = array(), array $headers = array()) + public function removeMediaFromList() { throw new NotImplementedException(__METHOD__ . ' has not been implemented yet.'); } @@ -93,13 +77,10 @@ public function removeMediaFromList($list_id, $media_id, array $options = array( /** * Get the plot keywords for a specific list id. * - * @param $list_id - * @param array $options - * @param array $headers * @throws NotImplementedException * @return mixed */ - public function deleteList($list_id, array $options = array(), array $headers = array()) + public function deleteList() { throw new NotImplementedException(__METHOD__ . ' has not been implemented yet.'); } diff --git a/lib/Tmdb/Api/Movies.php b/lib/Tmdb/Api/Movies.php index 29dd08d1..eb38c466 100644 --- a/lib/Tmdb/Api/Movies.php +++ b/lib/Tmdb/Api/Movies.php @@ -236,12 +236,9 @@ public function getTopRated(array $options = array(), array $headers = array()) /** * This method lets users get the status of whether or not the movie has been rated or added to their favourite or watch lists. A valid session id is required. * - * @param $movie_id - * @param array $options - * @param array $headers * @throws \Tmdb\Exception\NotImplementedException */ - public function getAccountStates($movie_id, array $options = array(), array $headers = array()) + public function getAccountStates() { throw new NotImplementedException('TMDB account sessions have not been implemented yet!'); } @@ -249,12 +246,9 @@ public function getAccountStates($movie_id, array $options = array(), array $hea /** * TThis method lets users rate a movie. A valid session id or guest session id is required. * - * @param $movie_id - * @param array $options - * @param array $headers * @throws \Tmdb\Exception\NotImplementedException */ - public function rateMovie($movie_id, array $options = array(), array $headers = array()) + public function rateMovie() { throw new NotImplementedException('TMDB account sessions have not been implemented yet!'); }