We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd7a1d2 commit b053d5dCopy full SHA for b053d5d
src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php
@@ -41,6 +41,7 @@ class TextDescriptor extends Descriptor
41
private const VERB_COLORS = [
42
'ANY' => 'default',
43
'GET' => 'blue',
44
+ 'QUERY' => 'blue',
45
'HEAD' => 'magenta',
46
'OPTIONS' => 'blue',
47
'POST' => 'green',
@@ -616,7 +617,7 @@ private function formatRouterConfig(array $config): string
616
617
*/
618
private function formatMethods(array $methods): string
619
{
- if (count($methods) === 0) {
620
+ if ($methods === []) {
621
$methods = ['ANY'];
622
}
623
0 commit comments