Skip to content

Commit

Permalink
Replaced ::class with string identifier.
Browse files Browse the repository at this point in the history
  • Loading branch information
pdommelen committed Aug 26, 2019
1 parent 3c308d3 commit b4433f6
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -11,7 +11,6 @@

namespace Symfony\Component\DependencyInjection\Tests\Dumper;

use MyProject\Proxies\__CG__\stdClass;
use PHPUnit\Framework\TestCase;
use Psr\Container\ContainerInterface;
use Symfony\Component\Config\FileLocator;
Expand Down Expand Up @@ -1145,7 +1144,7 @@ public function testAliasCanBeFoundInTheDumpedContainerWhenBothTheAliasAndTheSer
{
$container = new ContainerBuilder();

$container->register('foo', stdClass::class)->setPublic(true);
$container->register('foo', 'stdClass')->setPublic(true);
$container->setAlias('bar', 'foo')->setPublic(true);

$container->compile();
Expand Down

0 comments on commit b4433f6

Please sign in to comment.