if ($returnObject) {
return $this->viewPrintJobs(0, 1, $this->lastResponse->body);
}
The code for getting the object for createPrintJob's response uses viewPrintJobs, but the first argument is 0, and the code inside viewPrintJobs requires the value to be greater than or equal to 1