@@ -42,12 +42,12 @@ public function setProjectDirectory(string $projectDirectory): void
42
42
$ this ->projectDirectory = $ projectDirectory ;
43
43
}
44
44
45
- public function getLogDir ()
45
+ public function getLogDir (): string
46
46
{
47
47
return sys_get_temp_dir ().'/pug-symfony-log ' ;
48
48
}
49
49
50
- public function getRootDir ()
50
+ public function getRootDir (): string
51
51
{
52
52
return realpath (__DIR__ .'/../project-s5 ' );
53
53
}
@@ -57,14 +57,14 @@ public function getRootDir()
57
57
*
58
58
* @throws Exception
59
59
*/
60
- public function registerContainerConfiguration (LoaderInterface $ loader )
60
+ public function registerContainerConfiguration (LoaderInterface $ loader ): void
61
61
{
62
62
parent ::registerContainerConfiguration ($ loader );
63
63
$ loader ->load (__DIR__ .'/../project-s5/config/packages/framework.yaml ' );
64
64
$ loader ->load ($ this ->containerConfigurator );
65
65
}
66
66
67
- public function getCacheDir ()
67
+ public function getCacheDir (): string
68
68
{
69
69
return sys_get_temp_dir ().'/pug-symfony-cache ' ;
70
70
}
@@ -73,7 +73,7 @@ public function getCacheDir()
73
73
* Override the parent method to force recompiling the container.
74
74
* For performance reasons the container is also not dumped to disk.
75
75
*/
76
- protected function initializeContainer ()
76
+ protected function initializeContainer (): void
77
77
{
78
78
$ this ->container = $ this ->buildContainer ();
79
79
$ this ->container ->compile ();
0 commit comments