8000 Update WorkflowDumpCommand.php · shdev/symfony@9d0dda3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9d0dda3

Browse files
shdevfabpot
authored andcommitted
Update WorkflowDumpCommand.php
1 parent 1b843f8 commit 9d0dda3

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
CHANGELOG
22
=========
33

4-
<<<<<<< HEAD
54
4.1.0
65
-----
76

87
* Allowed to pass an optional `LoggerInterface $logger` instance to the `Router`
98
* Added a new `parameter_bag` service with related autowiring aliases to access parameters as-a-service
109
* Allowed the `Router` to work with any PSR-11 container
11-
* allowed to pass an optional `LoggerInterface $logger` instance to the `Router`
1210
* added option in workflow dump command to label graph with a custom label
1311

1412
4.0.0

src/Symfony/Bundle/FrameworkBundle/Command/WorkflowDumpCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
7878
$options = array();
7979 5B18
$label = $input->getOption('label');
8080
if (null !== $label && '' !== trim($label)) {
81-
$options = array('graph' => array('label' => $input->getOption('label')));
81+
$options = array('graph' => array('label' => $label));
8282
}
8383
$output->writeln($dumper->dump($workflow->getDefinition(), $marking, $options));
8484
}

0 commit comments

Comments
 (0)
0