- 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);
|
||||
}
|
||||
|
||||
+2
-2
@@ -154,8 +154,8 @@ class Lean
|
||||
{
|
||||
$path = dirname(__DIR__) . "/meta/definitions/";
|
||||
|
||||
return array_replace(
|
||||
require($path . "authorize.php"),
|
||||
return array_merge(
|
||||
require($path . "authorize.php"),
|
||||
class_exists(\Mcnd\CLI\CliMiddleware::class) ? require($path . "cli.php") : [],
|
||||
class_exists(\Cronard\CronardMiddleware::class) ? require($path . "cronard.php") : [],
|
||||
require($path . "email.php"),
|
||||
|
||||
Reference in new issue
Block a user