Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c47cea2

Browse filesBrowse files
committed
minor #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
Copy full SHA for c47cea2

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎configuration/override_dir_structure.rst

Copy file name to clipboardExpand all lines: configuration/override_dir_structure.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.