Skip to content

Commit cba61dc

Browse files
committed
Fix fabbot
1 parent d5c5925 commit cba61dc

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-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: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <[email protected]>
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;
615
use Doctrine\Persistence\ManagerRegistry;
716
use Doctrine\Persistence\ObjectManager;
817

18+
/**
19+
* @author Jason Schilling <[email protected]>
20+
*/
921
class DoctrineClassResolver
1022
{
1123
private $doctrine;
@@ -16,7 +28,6 @@ public function __construct(?ManagerRegistry $doctrine = null)
1628
}
1729

1830
/**
19-
* @param object $entity
2031
* @return class-string
2132
*/
2233
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)