We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c7f873 commit 26a49a3Copy full SHA for 26a49a3
src/ApiResult.php
@@ -54,7 +54,7 @@ public static function createFromResponse($response)
54
55
$apiResponse = new static();
56
57
- $apiResponse->pdf = $data['pdf'];
+ $apiResponse->pdf = isset($data['pdf'])?$data['pdf']: null;
58
$apiResponse->mbIn = $data['mbIn'];
59
$apiResponse->mbOut = $data['mbOut'];
60
$apiResponse->cost = $data['cost'];
0 commit comments