- Fixed fastroute version into composer
This commit is contained in:
parent
434e3c0c46
commit
421024f260
@ -25,7 +25,7 @@
|
||||
"mcnd/notes-security": "dev-master",
|
||||
"mcnd/notes-tell": "dev-master",
|
||||
"swiftmailer/swiftmailer": "^6.2@dev",
|
||||
"league/route": "dev-master",
|
||||
"league/route": "^5.0.0-dev",
|
||||
"laminas/laminas-diactoros": "2.5.x-dev",
|
||||
"laminas/laminas-httphandlerrunner": "1.3.x-dev",
|
||||
"vlucas/phpdotenv": "^3.4@dev",
|
||||
|
@ -73,9 +73,9 @@ trait ControllerTrait {
|
||||
return new PdfResponse($rawdata, $status, $headers);
|
||||
}
|
||||
|
||||
public static function renderText(string $html, int $code = 200, array $headers = []) : ResponseInterface
|
||||
public static function renderText(string $text, int $code = 200, array $headers = []) : ResponseInterface
|
||||
{
|
||||
return new TextResponse($html, $code, $headers);
|
||||
return new TextResponse($text, $code, $headers);
|
||||
}
|
||||
|
||||
public static function renderHtml(string $html, int $code = 200, array $headers = []) : ResponseInterface
|
||||
|
Loading…
x
Reference in New Issue
Block a user