diff --git a/configuration/override_dir_structure.rst b/configuration/override_dir_structure.rst index 70c3b5b5d28..f51147c73d1 100644 --- a/configuration/override_dir_structure.rst +++ b/configuration/override_dir_structure.rst @@ -51,7 +51,7 @@ method in the ``Kernel`` class of your application:: { // ... - public function getCacheDir() + public function getCacheDir() : string { return dirname(__DIR__).'/var/'.$this->environment.'/cache'; } @@ -84,7 +84,7 @@ method:: { // ... - public function getLogDir() + public function getLogDir() : string { return dirname(__DIR__).'/var/'.$this->environment.'/log'; }