From 80034dd0ed97446de8829e66da5266c4e12c9ca7 Mon Sep 17 00:00:00 2001 From: Guilherme Ferreira Date: Thu, 1 Sep 2022 14:10:53 +0200 Subject: [PATCH] Method getCharset with proper returning type The method `getCharset` implemented by the example should return `string` type, like the `Symfony\Component\HttpKernel\Kernel` abstract class requires. --- reference/configuration/kernel.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/configuration/kernel.rst b/reference/configuration/kernel.rst index 1c57afed784..f61f52fcc35 100644 --- a/reference/configuration/kernel.rst +++ b/reference/configuration/kernel.rst @@ -33,7 +33,7 @@ charset:: class Kernel extends BaseKernel { - public function getCharset() + public function getCharset(): string { return 'ISO-8859-1'; }