8000 Not much use in blanking the array each time · symfony/symfony@9864d95 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9864d95

Browse files
lmcd< 8000 a class="Box-sc-g0xbh4-0 dkaFxu prc-Link-Link-85e08" data-muted="true" muted="" href="/symfony/symfony/commits?author=lmcd" aria-label="commits by lmcd" data-hovercard-url="/users/lmcd/hovercard">lmcd
committed
Not much use in blanking the array each time
1 parent a4d711c commit 9864d95

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Symfony/Component/Console/Helper/DialogHelper.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ public function ask(OutputInterface $output, $question, $default = null, array $
113113
$output->write("\033[K");
114114
$ret = substr($ret, 0, $i);
115115

116-
$matches = array();
117116
$numMatches = 0;
118117

119118
continue;
@@ -150,7 +149,6 @@ public function ask(OutputInterface $output, $question, $default = null, array $
150149
break;
151150
}
152151

153-
$matches = array();
154152
$numMatches = 0;
155153
}
156154

@@ -160,7 +158,6 @@ public function ask(OutputInterface $output, $question, $default = null, array $
160158
$ret .= $c;
161159
$i++;
162160

163-
$matches = array();
164161
$numMatches = 0;
165162
$ofs = 0;
166163

0 commit comments

Comments
 (0)
0