Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c2172e7

Browse filesBrowse files
committed
bug #48428 Fixed undefined variable error (Kevin Meijer)
This PR was merged into the 6.2 branch. Discussion ---------- Fixed undefined variable error | Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #48426 | License | MIT | Doc PR | n/a Fixes an undefined variable warning during ZSH autocomplete if no suggestions have been provided. Commits ------- f405bfd Fixed undefined variable error
2 parents eaf92de + f405bfd commit c2172e7
Copy full SHA for c2172e7

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎src/Symfony/Component/Console/Completion/Output/ZshCompletionOutput.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Completion/Output/ZshCompletionOutput.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class ZshCompletionOutput implements CompletionOutputInterface
2121
{
2222
public function write(CompletionSuggestions $suggestions, OutputInterface $output): void
2323
{
24+
$values = [];
2425
foreach ($suggestions->getValueSuggestions() as $value) {
2526
$values[] = $value->getValue().($value->getDescription() ? "\t".$value->getDescription() : '');
2627
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.