File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 16
16
use Symfony \Component \Mercure \Update ;
17
17
use Symfony \UX \Turbo \Broadcaster \BroadcasterInterface ;
18
18
use Symfony \UX \Turbo \Broadcaster \IdFormatter ;
19
- use Symfony \UX \Turbo \Doctrine \ClassUtil ;
20
19
use Symfony \UX \Turbo \Doctrine \DoctrineClassResolver ;
21
20
22
21
/**
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \UX \Turbo \Broadcaster ;
13
13
14
- use Symfony \UX \Turbo \Doctrine \ClassUtil ;
15
14
use Symfony \UX \Turbo \Doctrine \DoctrineClassResolver ;
16
15
use Twig \Environment ;
17
16
Original file line number Diff line number Diff line change 1
1
<?php
2
2
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
+
3
12
namespace Symfony \UX \Turbo \Doctrine ;
4
13
5
14
use Doctrine \ORM \Mapping \ClassMetadata ;
@@ -16,7 +25,6 @@ public function __construct(?ManagerRegistry $doctrine = null)
16
25
}
17
26
18
27
/**
19
- * @param object $entity
20
28
* @return class-string
21
29
*/
22
30
public function resolve (object $ entity , ?ObjectManager $ em = null ): string
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function build(ContainerBuilder $container): void
35
35
{
36
36
parent ::build ($ container );
37
37
38
- $ container ->addCompilerPass (new class () implements CompilerPassInterface {
38
+ $ container ->addCompilerPass (new class () implements CompilerPassInterface {
39
39
public function process (ContainerBuilder $ container ): void
40
40
{
41
41
if (!$ container ->hasDefinition ('turbo.broadcaster.imux ' )) {
@@ -47,7 +47,7 @@ public function process(ContainerBuilder $container): void
47
47
}
48
48
}, PassConfig::TYPE_BEFORE_REMOVING );
49
49
50
- $ container ->addCompilerPass (new class () implements CompilerPassInterface {
50
+ $ container ->addCompilerPass (new class () implements CompilerPassInterface {
51
51
public function process (ContainerBuilder $ container ): void
52
52
{
53
53
$ serviceIds = [
You can’t perform that action at this time.
0 commit comments