Skip to content

Commit f48dd00

Browse files
authored
Update project directory method override
1 parent c831443 commit f48dd00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/configuration/kernel.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ method to return the right project directory::
8181
{
8282
// ...
8383

84-
public function getProjectDir()
84+
public function getProjectDir(): string
8585
{
86-
return realpath(__DIR__.'/../');
86+
return \dirname(__DIR__);
8787
}
8888
}
8989

0 commit comments

Comments
 (0)