comparison vendor/psy/psysh/src/Command/HelpCommand.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
72 if ($name !== $command->getName()) { 72 if ($name !== $command->getName()) {
73 continue; 73 continue;
74 } 74 }
75 75
76 if ($command->getAliases()) { 76 if ($command->getAliases()) {
77 $aliases = sprintf('<comment>Aliases:</comment> %s', implode(', ', $command->getAliases())); 77 $aliases = \sprintf('<comment>Aliases:</comment> %s', \implode(', ', $command->getAliases()));
78 } else { 78 } else {
79 $aliases = ''; 79 $aliases = '';
80 } 80 }
81 81
82 $table->addRow([ 82 $table->addRow([
83 sprintf('<info>%s</info>', $name), 83 \sprintf('<info>%s</info>', $name),
84 $command->getDescription(), 84 $command->getDescription(),
85 $aliases, 85 $aliases,
86 ]); 86 ]);
87 } 87 }
88 88