Skip to content

Commit 4f06d19

Browse files
committed
Remove FQCN type hints on properties
1 parent 2774908 commit 4f06d19

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Debug/TraceableEventDispatcher.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ class TraceableEventDispatcher implements EventDispatcherInterface, ResetInterfa
3636
* @var \SplObjectStorage<WrappedListener, array{string, string}>|null
3737
*/
3838
private ?\SplObjectStorage $callStack = null;
39-
private EventDispatcherInterface $dispatcher;
39+
private $dispatcher;
4040
private array $wrappedListeners = [];
4141
private array $orphanedEvents = [];
42-
private ?RequestStack $requestStack;
42+
private $requestStack;
4343
private string $currentRequestHash = '';
4444

4545
public function __construct(EventDispatcherInterface $dispatcher, Stopwatch $stopwatch, LoggerInterface $logger = null, RequestStack $requestStack = null)

Debug/WrappedListener.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ final class WrappedListener
2626
private string $name;
2727
private bool $called = false;
2828
private bool $stoppedPropagation = false;
29-
private Stopwatch $stopwatch;
30-
private ?EventDispatcherInterface $dispatcher;
29+
private $stopwatch;
30+
private $dispatcher;
3131
private string $pretty;
32-
private ClassStub|string $stub;
32+
private $stub;
3333
private ?int $priority = null;
3434
private static bool $hasClassStub;
3535

ImmutableEventDispatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
class ImmutableEventDispatcher implements EventDispatcherInterface
2020
{
21-
private EventDispatcherInterface $dispatcher;
21+
private $dispatcher;
2222

2323
public function __construct(EventDispatcherInterface $dispatcher)
2424
{

0 commit comments

Comments
 (0)