Skip to content

Commit d868350

Browse files
committed
Fix fabbot
1 parent d5c5925 commit d868350

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

src/Turbo/src/Bridge/Mercure/Broadcaster.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use Symfony\Component\Mercure\Update;
1717
use Symfony\UX\Turbo\Broadcaster\BroadcasterInterface;
1818
use Symfony\UX\Turbo\Broadcaster\IdFormatter;
19-
use Symfony\UX\Turbo\Doctrine\ClassUtil;
2019
use Symfony\UX\Turbo\Doctrine\DoctrineClassResolver;
2120

2221
/**

src/Turbo/src/Broadcaster/TwigBroadcaster.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\UX\Turbo\Broadcaster;
1313

14-
use Symfony\UX\Turbo\Doctrine\ClassUtil;
1514
use Symfony\UX\Turbo\Doctrine\DoctrineClassResolver;
1615
use Twig\Environment;
1716

src/Turbo/src/Doctrine/DoctrineClassResolver.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Symfony\UX\Turbo\Doctrine;
413

514
use Doctrine\ORM\Mapping\ClassMetadata;
@@ -16,7 +25,6 @@ public function __construct(?ManagerRegistry $doctrine = null)
1625
}
1726

1827
/**
19-
* @param object $entity
2028
* @return class-string
2129
*/
2230
public function resolve(object $entity, ?ObjectManager $em = null): string

src/Turbo/src/TurboBundle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function build(ContainerBuilder $container): void
3535
{
3636
parent::build($container);
3737

38-
$container->addCompilerPass(new class () implements CompilerPassInterface {
38+
$container->addCompilerPass(new class() implements CompilerPassInterface {
3939
public function process(ContainerBuilder $container): void
4040
{
4141
if (!$container->hasDefinition('turbo.broadcaster.imux')) {
@@ -47,7 +47,7 @@ public function process(ContainerBuilder $container): void
4747
}
4848
}, PassConfig::TYPE_BEFORE_REMOVING);
4949

50-
$container->addCompilerPass(new class () implements CompilerPassInterface {
50+
$container->addCompilerPass(new class() implements CompilerPassInterface {
5151
public function process(ContainerBuilder $container): void
5252
{
5353
$serviceIds = [

0 commit comments

Comments
 (0)