From 4f0299b3e23c5f869b19c6d37be0ff206d03557e Mon Sep 17 00:00:00 2001 From: Juan Lotito Date: Thu, 23 Nov 2023 15:14:13 +0100 Subject: [PATCH] change from private to protected in factory class --- src/Factories/AmqpMessageFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');