diff --git a/src/Consumer.php b/src/Consumer.php index d2d8cba..535b38a 100644 --- a/src/Consumer.php +++ b/src/Consumer.php @@ -33,11 +33,11 @@ class Consumer { use Logger; - protected ?string $name; + protected ?string $name = null; - private ?HealthMonitor $healthMonitor; + private ?HealthMonitor $healthMonitor = null; - private ?ServerMutexInterface $serverMutex; + private ?ServerMutexInterface $serverMutex = null; private BinLogCurrentSnapshotInterface $binLogCurrentSnapshot;