Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
vfalies committed Mar 28, 2020
1 parent e812aa6 commit 81caceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VfacTmdb/Tmdb.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private function decodeRequest($res, $method, $url, $form_params) : \stdClass
{
$content = $res->getBody();

if ( ! is_string($content)) {
if ( is_object($content)) {
$content = $content->getContents();
}
if (empty($content)) {
Expand Down

0 comments on commit 81caceb

Please sign in to comment.