Skip to content

Commit 0fcf356

Browse files
Fix merge
1 parent 52be5a0 commit 0fcf356

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Component/DependencyInjection/Tests/Compiler/PriorityTaggedServiceTraitTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ public function testDecoratedServiceAsTaggedItemIndex()
514514

515515
$priorityTaggedServiceTraitImplementation = new PriorityTaggedServiceTraitImplementation();
516516

517-
$tag = new TaggedIteratorArgument('my_custom_tag', 'foo', 'getFooBar');
517+
$tag = new TaggedIteratorArgument('my_custom_tag', 'foo');
518518
$services = $priorityTaggedServiceTraitImplementation->test($tag, $container);
519519

520520
$this->assertArrayHasKey('custom_key', $services);
@@ -544,7 +544,7 @@ public function testMultiLevelDecoratedServiceAsTaggedItemIndex()
544544

545545
$priorityTaggedServiceTraitImplementation = new PriorityTaggedServiceTraitImplementation();
546546

547-
$tag = new TaggedIteratorArgument('my_custom_tag', 'foo', 'getFooBar');
547+
$tag = new TaggedIteratorArgument('my_custom_tag', 'foo');
548548
$services = $priorityTaggedServiceTraitImplementation->test($tag, $container);
549549

550550
$this->assertArrayHasKey('custom_key', $services);

src/Symfony/Component/DependencyInjection/Tests/Compiler/ServiceLocatorTagPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public function testIndexedByAsTaggedItemWithDecoration()
283283

284284
$locator = new Definition(Locator::class);
285285
$locator->setPublic(true);
286-
$locator->addArgument(new ServiceLocatorArgument(new TaggedIteratorArgument('test_tag', 'key', null, true)));
286+
$locator->addArgument(new ServiceLocatorArgument(new TaggedIteratorArgument('test_tag', 'key', true)));
287287

288288
$container->setDefinition(Locator::class, $locator);
289289

0 commit comments

Comments
 (0)