From 28ef0ed82e239100c9bfc0a80e8c1039e89f4441 Mon Sep 17 00:00:00 2001 From: TomasVotruba Date: Thu, 17 Sep 2020 23:49:27 +0200 Subject: [PATCH] type --- compiler/src/Console/Command/CompileCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/src/Console/Command/CompileCommand.php b/compiler/src/Console/Command/CompileCommand.php index afcf44ed108..65f11534537 100644 --- a/compiler/src/Console/Command/CompileCommand.php +++ b/compiler/src/Console/Command/CompileCommand.php @@ -75,8 +75,8 @@ final class CompileCommand extends Command SmartFileSystem $smartFileSystem, ParameterProvider $parameterProvider ) { - $this->dataDir = $parameterProvider->provideParameter(Option::DATA_DIR); - $this->buildDir = $parameterProvider->provideParameter(Option::BUILD_DIR); + $this->dataDir = (string) $parameterProvider->provideParameter(Option::DATA_DIR); + $this->buildDir = (string) $parameterProvider->provideParameter(Option::BUILD_DIR); $this->composerJsonManipulator = $composerJsonManipulator; $this->jetbrainsStubsRenamer = $jetbrainsStubsRenamer;