10000 fabbot · symfony/symfony@4944a47 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4944a47

Browse files
committed
fabbot
1 parent 13b9dc8 commit 4944a47

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Symfony/Component/DependencyInjection/Compiler/ResolveInstanceofConditionalsPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private function processDefinition(ContainerBuilder $container, $id, Definition
126126
private function mergeConditionals(array $autoconfiguredInstanceof, array $instanceofConditionals)
127127
{
128128
// make each value an array of ChildDefinition
129-
$conditionals = array_map(function($childDef) { return array($childDef); }, $autoconfiguredInstanceof);
129+
$conditionals = array_map(function ($childDef) { return array($childDef); }, $autoconfiguredInstanceof);
130130

131131
foreach ($instanceofConditionals as $interface => $instanceofDef) {
132132
if (!isset($autoconfiguredInstanceof[$interface])) {

src/Symfony/Component/DependencyInjection/ContainerBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,6 +1272,7 @@ public function getExpressionLanguageProviders()
12721272
* Returns a ChildDefinition that will be used for autoconfiguring the interface/class.
12731273
*
12741274
* @param string $interface The class or interface to match
1275+
*
12751276
* @return ChildDefinition
12761277
*/
12771278
public function registerForAutoconfiguration($interface)

0 commit comments

Comments
 (0)
0