Skip to content

Commit

Permalink
Merge branch '5.1' into 5.2
Browse files Browse the repository at this point in the history
* 5.1:
  Fix merge
  • Loading branch information
nicolas-grekas committed Jan 25, 2021
2 parents 2a2558f + 7480b3d commit a607186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Loader/YamlFileLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ private function parseDefinition(string $id, $service, string $file, array $defa
$stack = [];

foreach ($service['stack'] as $k => $frame) {
if (\is_array($frame) && 1 === \count($frame) && !isset(self::$serviceKeywords[key($frame)])) {
if (\is_array($frame) && 1 === \count($frame) && !isset(self::SERVICE_KEYWORDS[key($frame)])) {
$frame = [
'class' => key($frame),
'arguments' => current($frame),
Expand Down

0 comments on commit a607186

Please sign in to comment.