- Repaired a bad authentiation config
This commit is contained in:
1 parent
2378245dbf
commit
2a18e0cb9a
4 files changed
+7
-7
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user