- Fixed fastroute version into composer
This commit is contained in:
1 parent
434e3c0c46
commit
421024f260
2 files changed
+3
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user