Skip to content

Commit

Permalink
Merge branch '4.1' into 4.2
Browse files Browse the repository at this point in the history
* 4.1:
  bump required Twig version
  fix compatibility with Twig >= 2.6.1
  [Form] SA fix
  fix compatibility with PHPUnit 4.8
  remove return type hint for PHP 5 compatibility
  SCA: minor code tweaks
  Component CssSelector tests
  [DebugClassLoader] Readd findFile() method
  [Console] Fix composer.json suggest/provide
  Revert "bug #29597 [DI] fix reporting bindings on overriden services as unused (nicolas-grekas)"
  Fixed exception wording
  Fix SwiftMailerHandler to support Monolog's latest reset functionality
  • Loading branch information
fabpot committed Jan 14, 2019
2 parents 6cba25e + d0a7229 commit 22522df
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions DependencyInjection/FrameworkExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -584,9 +584,7 @@ private function registerWorkflowConfiguration(array $config, ContainerBuilder $
$metadataStoreDefinition->replaceArgument(2, $transitionsMetadataDefinition);

// Create places
$places = array_map(function (array $place) {
return $place['name'];
}, $workflow['places']);
$places = array_column($workflow['places'], 'name');

// Create a Definition
$definitionDefinition = new Definition(Workflow\Definition::class);
Expand Down

0 comments on commit 22522df

Please sign in to comment.