Skip to content

Commit

Permalink
Code update
Browse files Browse the repository at this point in the history
  • Loading branch information
DontFollow committed May 9, 2021
1 parent 19a4cac commit e85cbac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Managers/RequestManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function get(string $urn, array $params = [])
$request = json_decode(curl_exec($curl));
curl_close($curl);

if (!is_object($request) || !isset($request->success) || !isset($request->response)) {
if (!is_object($request) || !isset($request->success, $request->response)) {
return false;
}

Expand Down

0 comments on commit e85cbac

Please sign in to comment.