From 58f6cef5dc5f641b7bbdbf8b32b44cc926c35f3f Mon Sep 17 00:00:00 2001 From: Kevin Meijer Date: Thu, 1 Dec 2022 14:44:20 +0100 Subject: [PATCH] Fixed undefined variable error --- Completion/Output/ZshCompletionOutput.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Completion/Output/ZshCompletionOutput.php b/Completion/Output/ZshCompletionOutput.php index 280601d92..bb4ce70b5 100644 --- a/Completion/Output/ZshCompletionOutput.php +++ b/Completion/Output/ZshCompletionOutput.php @@ -21,6 +21,7 @@ class ZshCompletionOutput implements CompletionOutputInterface { public function write(CompletionSuggestions $suggestions, OutputInterface $output): void { + $values = []; foreach ($suggestions->getValueSuggestions() as $value) { $values[] = $value->getValue().($value->getDescription() ? "\t".$value->getDescription() : ''); }