diff --git a/Tests/AppKernel.php b/Tests/AppKernel.php index a9f8835..294c393 100644 --- a/Tests/AppKernel.php +++ b/Tests/AppKernel.php @@ -42,17 +42,17 @@ public function __construct($cachePrefix) $this->cachePrefix = $cachePrefix; } - public function getCacheDir() + public function getCacheDir(): string { return \sys_get_temp_dir().'/ekino/'.$this->cachePrefix; } - public function getLogDir() + public function getLogDir(): string { return \sys_get_temp_dir().'/ekino/log'; } - public function getProjectDir() + public function getProjectDir(): string { if (null === $this->fakedProjectDir) { return \realpath(__DIR__.'/../../../../'); @@ -77,7 +77,7 @@ public function setProjectDir($projectDir) $this->fakedProjectDir = $projectDir; } - public function registerBundles() + public function registerBundles(): iterable { return [ new FrameworkBundle(), @@ -135,7 +135,7 @@ public function loadRoutes(LoaderInterface $loader) /** * {@inheritdoc} */ - protected function buildContainer() + protected function buildContainer(): ContainerBuilder { $container = parent::buildContainer();