diff --git a/src/Factories/AmqpMessageFactory.php b/src/Factories/AmqpMessageFactory.php index 8e679ff..8595742 100644 --- a/src/Factories/AmqpMessageFactory.php +++ b/src/Factories/AmqpMessageFactory.php @@ -21,7 +21,7 @@ public function make(EventMessageInterface $eventMessage, array $properties = [] ); } - private function checkMessage(array $message): void + protected function checkMessage(array $message): void { if (empty(array_filter($message))) { throw new LogicException('No message provided');