1818use Symfony \Component \Console \Output \OutputInterface ;
1919use TYPO3 \Surf \Domain \Model \Application ;
2020use TYPO3 \Surf \Domain \Model \FailedDeployment ;
21+ use TYPO3 \Surf \Domain \Model \Node ;
2122use TYPO3 \Surf \Domain \Model \SimpleWorkflow ;
2223use TYPO3 \Surf \Domain \Model \Workflow ;
2324use TYPO3 \Surf \Integration \FactoryInterface ;
@@ -91,6 +92,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
9192 return Command::SUCCESS ;
9293 }
9394
95+ /**
96+ * @param Node[] $nodes
97+ */
9498 protected function printNodes (array $ nodes ): void
9599 {
96100 $ this ->output ->writeln ('Nodes: ' . PHP_EOL );
@@ -99,6 +103,9 @@ protected function printNodes(array $nodes): void
99103 }
100104 }
101105
106+ /**
107+ * @param Application[] $applications
108+ */
102109 protected function printApplications (array $ applications , Workflow $ workflow ): void
103110 {
104111 $ this ->output ->writeln (PHP_EOL . 'Applications: ' . PHP_EOL );
@@ -127,6 +134,10 @@ protected function printApplications(array $applications, Workflow $workflow): v
127134 }
128135 }
129136
137+ /**
138+ * @param array<string, mixed> $stages
139+ * @param array<string, mixed> $tasks
140+ */
130141 protected function printStages (Application $ application , array $ stages , array $ tasks ): void
131142 {
132143 foreach ($ stages as $ stage ) {
@@ -155,6 +166,7 @@ protected function printStages(Application $application, array $stages, array $t
155166 /**
156167 * Print all tasks before or after a task
157168 *
169+ * @param array<string, mixed> $tasks
158170 * @param string $output
159171 */
160172 private function printBeforeAfterTasks (array $ tasks , string $ applicationName , string $ task , string $ step , &$ output ): void
0 commit comments