Skip to content

Commit 1c23d1a

Browse files
committed
[DependencyInjection] Fixed tests for wither with static return type.
1 parent 02acc78 commit 1c23d1a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Tests/Fixtures/WitherStaticReturnType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace Symfony\Component\DependencyInjection\Tests\Fixtures;
44

5+
use Symfony\Component\DependencyInjection\Tests\Compiler\Foo;
6+
57
class WitherStaticReturnType
68
{
79
public $foo;

Tests/Fixtures/php/services_wither_staticreturntype.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ public function getRemovedIds(): array
4848
/**
4949
* Gets the public 'wither' shared autowired service.
5050
*
51-
* @return \Symfony\Component\DependencyInjection\Tests\Compiler\WitherStaticReturnType
51+
* @return \Symfony\Component\DependencyInjection\Tests\Fixtures\WitherStaticReturnType
5252
*/
5353
protected function getWitherService()
5454
{
55-
$instance = new \Symfony\Component\DependencyInjection\Tests\Compiler\WitherStaticReturnType();
55+
$instance = new \Symfony\Component\DependencyInjection\Tests\Fixtures\WitherStaticReturnType();
5656

5757
$a = new \Symfony\Component\DependencyInjection\Tests\Compiler\Foo();
5858

0 commit comments

Comments
 (0)