Skip to content

Commit 4b85435

Browse files
Merge branch '6.0' into 6.1
* 6.0: [Workflow] Fix deprecated syntax for interpolated strings [DependencyInjection] Fix lazyness of AutowiringFailedException
2 parents fcb5e49 + 9fad878 commit 4b85435

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dumper/PlantUmlDumper.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,16 @@ public function dump(Definition $definition, Marking $marking = null, array $opt
103103
}
104104

105105
$lines = [
106-
"$fromEscaped -${transitionColor}-> ${transitionEscaped}${transitionLabel}",
107-
"$transitionEscaped -${transitionColor}-> ${toEscaped}${transitionLabel}",
106+
"{$fromEscaped} -{$transitionColor}-> {$transitionEscaped}{$transitionLabel}",
107+
"{$transitionEscaped} -{$transitionColor}-> {$toEscaped}{$transitionLabel}",
108108
];
109109
foreach ($lines as $line) {
110110
if (!\in_array($line, $code)) {
111111
$code[] = $line;
112112
}
113113
}
114114
} else {
115-
$code[] = "$fromEscaped -${transitionColor}-> $toEscaped: $transitionEscapedWithStyle";
115+
$code[] = "{$fromEscaped} -{$transitionColor}-> {$toEscaped}: {$transitionEscapedWithStyle}";
116116
}
117117
}
118118
}

0 commit comments

Comments
 (0)