Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0bbbda4

Browse files
committed
Fix method name
1 parent1b3d41a commit0bbbda4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/Symfony/Component/DependencyInjection/ContainerBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ public function findTaggedServiceIds(string $name, bool $throwOnAbstract = false
13561356
*
13571357
* @return array<string, array> An array of tags with the tagged class as key, holding a list of attribute arrays
13581358
*/
1359-
publicfunctionfindTaggedValueObject(string$name,bool$autoExclude =true):array
1359+
publicfunctionfindTaggedValueObjects(string$name,bool$autoExclude =true):array
13601360
{
13611361
$this->usedTags[] =$name;
13621362
$tags = [];

‎src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ public function testFindTaggedServiceIds()
10891089
$builder->findTaggedServiceIds('foo',true);
10901090
}
10911091

1092-
publicfunctiontestFindTaggedValueObject()
1092+
publicfunctiontestFindTaggedValueObjects()
10931093
{
10941094
$builder =newContainerBuilder();
10951095
$builder
@@ -1100,10 +1100,10 @@ public function testFindTaggedValueObject()
11001100
;
11011101

11021102
$expected = ['foo' => [['foo' =>'foo'], ['foofoo' =>'foofoo']]];
1103-
$this->assertSame($expected,$builder->findTaggedValueObject('foo',false));
1103+
$this->assertSame($expected,$builder->findTaggedValueObjects('foo',false));
11041104
$this->assertFalse($builder->getDefinition('foo')->hasTag('container.excluded'));
11051105
$this->assertFalse($builder->getDefinition('foo')->isAbstract());
1106-
$this->assertSame($expected,$builder->findTaggedValueObject('foo'));
1106+
$this->assertSame($expected,$builder->findTaggedValueObjects('foo'));
11071107
$this->assertTrue($builder->getDefinition('foo')->hasTag('container.excluded'));
11081108
$this->assertTrue($builder->getDefinition('foo')->isAbstract());
11091109
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp