Skip to content

Commit 53c6ce0

Browse files
committed
Remove FQCN type hints on properties
1 parent 3553a51 commit 53c6ce0

40 files changed

+60
-60
lines changed

Command/ConsumeMessagesCommand.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
#[AsCommand(name: 'messenger:consume', description: 'Consume messages')]
4141
class ConsumeMessagesCommand extends Command
4242
{
43-
private RoutableMessageBus $routableBus;
44-
private ContainerInterface $receiverLocator;
45-
private EventDispatcherInterface $eventDispatcher;
46-
private ?LoggerInterface $logger;
43+
private $routableBus;
44+
private $receiverLocator;
45+
private $eventDispatcher;
46+
private $logger;
4747
private array $receiverNames;
48-
private ?ResetServicesListener $resetServicesListener;
48+
private $resetServicesListener;
4949
private array $busIds;
5050

5151
public function __construct(RoutableMessageBus $routableBus, ContainerInterface $receiverLocator, EventDispatcherInterface $eventDispatcher, LoggerInterface $logger = null, array $receiverNames = [], ResetServicesListener $resetServicesListener = null, array $busIds = [])

Command/FailedMessagesRetryCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
#[AsCommand(name: 'messenger:failed:retry', description: 'Retry one or more messages from the failure transport')]
3838
class FailedMessagesRetryCommand extends AbstractFailedMessagesCommand
3939
{
40-
private EventDispatcherInterface $eventDispatcher;
41-
private MessageBusInterface $messageBus;
42-
private ?LoggerInterface $logger;
40+
private $eventDispatcher;
41+
private $messageBus;
42+
private $logger;
4343

4444
public function __construct(?string $globalReceiverName, ServiceProviderInterface $failureTransports, MessageBusInterface $messageBus, EventDispatcherInterface $eventDispatcher, LoggerInterface $logger = null)
4545
{

Command/SetupTransportsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#[AsCommand(name: 'messenger:setup-transports', description: 'Prepare the required infrastructure for the transport')]
2929
class SetupTransportsCommand extends Command
3030
{
31-
private ContainerInterface $transportLocator;
31+
private $transportLocator;
3232
private array $transportNames;
3333

3434
public function __construct(ContainerInterface $transportLocator, array $transportNames = [])

Command/StopWorkersCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#[AsCommand(name: 'messenger:stop-workers', description: 'Stop workers after their current message')]
2727
class StopWorkersCommand extends Command
2828
{
29-
private CacheItemPoolInterface $restartSignalCachePool;
29+
private $restartSignalCachePool;
3030

3131
public function __construct(CacheItemPoolInterface $restartSignalCachePool)
3232
{

Event/AbstractWorkerMessageEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
abstract class AbstractWorkerMessageEvent
1818
{
19-
private Envelope $envelope;
19+
private $envelope;
2020
private string $receiverName;
2121

2222
public function __construct(Envelope $envelope, string $receiverName)

Event/SendMessageToTransportsEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
final class SendMessageToTransportsEvent
2828
{
29-
private Envelope $envelope;
29+
private $envelope;
3030

3131
public function __construct(Envelope $envelope)
3232
{

Event/WorkerRunningEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
final class WorkerRunningEvent
2222
{
23-
private Worker $worker;
23+
private $worker;
2424
private bool $isWorkerIdle;
2525

2626
public function __construct(Worker $worker, bool $isWorkerIdle)

Event/WorkerStartedEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
final class WorkerStartedEvent
2222
{
23-
private Worker $worker;
23+
private $worker;
2424

2525
public function __construct(Worker $worker)
2626
{

Event/WorkerStoppedEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
final class WorkerStoppedEvent
2222
{
23-
private Worker $worker;
23+
private $worker;
2424

2525
public function __construct(Worker $worker)
2626
{

EventListener/ResetServicesListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
class ResetServicesListener implements EventSubscriberInterface
2222
{
23-
private ServicesResetter $servicesResetter;
23+
private $servicesResetter;
2424

2525
public function __construct(ServicesResetter $servicesResetter)
2626
{

0 commit comments

Comments
 (0)