@@ -50,7 +50,7 @@ |
||
50 | 50 | public function getStreamResponse(string $html, string $filename, array $options = []): StreamedResponse |
51 | 51 | { |
52 | 52 | $response = new StreamedResponse(); |
53 | - $response->setCallback(function () use ($html, $filename, $options): void { |
|
53 | + $response->setCallback(function() use ($html, $filename, $options): void { |
|
54 | 54 | $this->streamHtml($html, $filename, $options); |
55 | 55 | }); |
56 | 56 |
@@ -161,6 +161,9 @@ |
||
161 | 161 | $response->sendContent(); |
162 | 162 | } |
163 | 163 | |
164 | + /** |
|
165 | + * @param string $response |
|
166 | + */ |
|
164 | 167 | private function prepareOutput(string $input, ?string $response = null): void |
165 | 168 | { |
166 | 169 | $this->dompdfFactory |