Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/console/Descriptor/TextDescriptor.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children | 1fec387a4317 |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
260 * | 260 * |
261 * @return string | 261 * @return string |
262 */ | 262 */ |
263 private function formatDefaultValue($default) | 263 private function formatDefaultValue($default) |
264 { | 264 { |
265 if (INF === $default) { | |
266 return 'INF'; | |
267 } | |
268 | |
265 if (is_string($default)) { | 269 if (is_string($default)) { |
266 $default = OutputFormatter::escape($default); | 270 $default = OutputFormatter::escape($default); |
267 } elseif (is_array($default)) { | 271 } elseif (is_array($default)) { |
268 foreach ($default as $key => $value) { | 272 foreach ($default as $key => $value) { |
269 if (is_string($value)) { | 273 if (is_string($value)) { |