- Repaired a bad authentiation config

This commit is contained in:
Dave Mc Nicoll committed 2023-11-27 13:02:20 -05:00
1 parent 2378245dbf
commit 2a18e0cb9a
4 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ class HttpFactory
return new EmptyResponse($code, $headers);
}
public static function createPdfResponse(\Stringable $binary, int $code = 200, array $headers = []) : ResponseInterface
public static function createPdfResponse(\Stringable|string $binary, int $code = 200, array $headers = []) : ResponseInterface
{
return new PdfResponse((string) $binary, $code, $headers);
}