Skip to content

Commit c47cea2

Browse files
committed
minor symfony#16462 Update some code (IamBeginnerC)
This PR was submitted for the 6.0 branch but it was merged into the 4.4 branch instead. Discussion ---------- Update some code <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- a20ace6 Update some code
2 parents 7dfe821 + a20ace6 commit c47cea2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configuration/override_dir_structure.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ method in the ``Kernel`` class of your application::
5151
{
5252
// ...
5353

54-
public function getCacheDir()
54+
public function getCacheDir() : string
5555
{
5656
return dirname(__DIR__).'/var/'.$this->environment.'/cache';
5757
}
@@ -84,7 +84,7 @@ method::
8484
{
8585
// ...
8686

87-
public function getLogDir()
87+
public function getLogDir() : string
8888
{
8989
return dirname(__DIR__).'/var/'.$this->environment.'/log';
9090
}

0 commit comments

Comments
 (0)