reportOutput = $reportOutput !== null ? \Closure::fromCallable($reportOutput) : static function (array $output): bool { return true; }; } public function getIncludeWatermarks(): bool { return $this->includeWatermarks; } public function getPreferStreaming(): bool { return $this->preferStreaming; } public function getReportOutput(): callable { return $this->reportOutput; } }