minor #36945 [DependencyInjection] Fixed tests for wither with static return type (derrabus)
This PR was merged into the 5.1 branch.
Discussion
----------
[DependencyInjection] Fixed tests for wither with static return type
| Q | A
| ------------- | ---
| Branch? | 5.1
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | #36872
| License | MIT
| Doc PR | N/A
This PR fixes the remaining failing test on php 8 for the DependencyInjection suite.
Commits
-------
b27b535126
[DependencyInjection] Fixed tests for wither with static return type.
This commit is contained in:
commit
595ca2ec8b
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Component\DependencyInjection\Tests\Fixtures;
|
namespace Symfony\Component\DependencyInjection\Tests\Fixtures;
|
||||||
|
|
||||||
|
use Symfony\Component\DependencyInjection\Tests\Compiler\Foo;
|
||||||
|
|
||||||
class WitherStaticReturnType
|
class WitherStaticReturnType
|
||||||
{
|
{
|
||||||
public $foo;
|
public $foo;
|
||||||
|
@ -48,11 +48,11 @@ class Symfony_DI_PhpDumper_Service_WitherStaticReturnType extends Container
|
|||||||
/**
|
/**
|
||||||
* Gets the public 'wither' shared autowired service.
|
* Gets the public 'wither' shared autowired service.
|
||||||
*
|
*
|
||||||
* @return \Symfony\Component\DependencyInjection\Tests\Compiler\WitherStaticReturnType
|
* @return \Symfony\Component\DependencyInjection\Tests\Fixtures\WitherStaticReturnType
|
||||||
*/
|
*/
|
||||||
protected function getWitherService()
|
protected function getWitherService()
|
||||||
{
|
{
|
||||||
$instance = new \Symfony\Component\DependencyInjection\Tests\Compiler\WitherStaticReturnType();
|
$instance = new \Symfony\Component\DependencyInjection\Tests\Fixtures\WitherStaticReturnType();
|
||||||
|
|
||||||
$a = new \Symfony\Component\DependencyInjection\Tests\Compiler\Foo();
|
$a = new \Symfony\Component\DependencyInjection\Tests\Compiler\Foo();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user