Skip to content

Commit

Permalink
BUGFIX: Add missing return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellienert committed Sep 23, 2020
1 parent d205b4b commit 741d911
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/Api/PexelsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ public function getFileStream(string $url)
if (!is_resource($resource)) {
throw new TransferException(sprintf('Unable to load an image from %s %s. Error: %s', $url, $tcpPrefixedProxy !== '' ? 'using proxy ' . $tcpPrefixedProxy : ' without using a proxy.', error_get_last()), 1600770625);
}

return $resource;
}

/**
Expand Down

0 comments on commit 741d911

Please sign in to comment.