@@ -128,6 +128,7 @@ protected function outputError(string $error, string $title = 'ERROR'): self
128128 return $ this ;
129129 }
130130
131+ /** @param string[] $templateParameters */
131132 protected function renderTemplate (string $ templatePath , array $ templateParameters = []): string
132133 {
133134 static $ twig ;
@@ -138,6 +139,7 @@ protected function renderTemplate(string $templatePath, array $templateParameter
138139 return $ twig ->render ($ templatePath , $ templateParameters );
139140 }
140141
142+ /** @param string[] $templateParameters */
141143 protected function renderBenchmarkTemplate (
142144 string $ templatePath ,
143145 array $ templateParameters = [],
@@ -166,6 +168,7 @@ protected function renderBenchmarkTemplate(
166168 return $ this ->renderTemplate ("benchmark/ $ templateTwigPath " , $ templateParameters );
167169 }
168170
171+ /** @param string[] $templateParameters */
169172 protected function writeFileFromTemplate (
170173 string $ templatePath ,
171174 array $ templateParameters = [],
@@ -231,7 +234,10 @@ protected function removeFile(string $file, bool $rmPrefix = true): self
231234 return $ this ;
232235 }
233236
234- /** @return $this */
237+ /**
238+ * @param string[] $commands
239+ * @return $this
240+ */
235241 protected function runProcess (
236242 array $ commands ,
237243 int $ outputVerbosity = OutputInterface::VERBOSITY_NORMAL ,
@@ -294,7 +300,10 @@ function (string $type, string $line) use ($outputVerbosity): void {
294300 return $ this ;
295301 }
296302
297- /** @return $this */
303+ /**
304+ * @param array<mixed> $arguments
305+ * @return $this
306+ */
298307 protected function runCommand (
299308 string $ name ,
300309 array $ arguments = [],
@@ -352,6 +361,7 @@ protected function askQuestion(string $question, string $default = null): ?strin
352361 );
353362 }
354363
364+ /** @param array<mixed> $choices */
355365 protected function askChoiceQuestion (string $ question , array $ choices ): string
356366 {
357367 return $ this
0 commit comments