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.
2 parents 0c7f873 + 26a49a3 commit 6b06dcdCopy full SHA for 6b06dcd
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