Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/console/Helper/QuestionHelper.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 1fec387a4317 |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
15:e200cb7efeb3 | 16:c2387f117808 |
---|---|
303 $numMatches = 0; | 303 $numMatches = 0; |
304 $ofs = 0; | 304 $ofs = 0; |
305 | 305 |
306 foreach ($autocomplete as $value) { | 306 foreach ($autocomplete as $value) { |
307 // If typed characters match the beginning chunk of value (e.g. [AcmeDe]moBundle) | 307 // If typed characters match the beginning chunk of value (e.g. [AcmeDe]moBundle) |
308 if (0 === strpos($value, $ret) && $i !== strlen($value)) { | 308 if (0 === strpos($value, $ret)) { |
309 $matches[$numMatches++] = $value; | 309 $matches[$numMatches++] = $value; |
310 } | 310 } |
311 } | 311 } |
312 } | 312 } |
313 | 313 |