Skip to content

Commit 1713fc4

Browse files
Merge branch '3.1'
* 3.1: [PhpUnitBridge] Fix undefined variable Compatibility with Twig 1.27 Remove extra line in doc-block comment [VarDumper] Fix dumping Twig source in stack traces Enhance GAE compat by removing some realpath() [DependencyInjection] Remove old code in XML loader bumped Symfony version to 3.1.7 updated VERSION for 3.1.6 updated CHANGELOG for 3.1.6 bumped Symfony version to 2.8.14 updated VERSION for 2.8.13 updated CHANGELOG for 2.8.13 bumped Symfony version to 2.7.21 updated VERSION for 2.7.20 update CONTRIBUTORS for 2.7.20 updated CHANGELOG for 2.7.20 [SecurityBundle] Fix twig-bridge lowest dep
2 parents cb1d754 + 58bc1d3 commit 1713fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Loader/XmlFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ private function parseDefinition(\DOMElement $service, $file)
152152

153153
foreach (array('class', 'shared', 'public', 'synthetic', 'lazy', 'abstract') as $key) {
154154
if ($value = $service->getAttribute($key)) {
155-
$method = 'set'.str_replace('-', '', $key);
155+
$method = 'set'.$key;
156156
$definition->$method(XmlUtils::phpize($value));
157157
}
158158
}

0 commit comments

Comments
 (0)