From 64ac8b1f1a0451db281b422a968e7527ed1eaaae Mon Sep 17 00:00:00 2001 From: Loris Mich Date: Tue, 1 Feb 2022 16:14:02 +0100 Subject: [PATCH] Fix implode from issue #212 thanks to @gutorsantos --- src/PAMI/Message/Event/Factory/Impl/EventFactoryImpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PAMI/Message/Event/Factory/Impl/EventFactoryImpl.php b/src/PAMI/Message/Event/Factory/Impl/EventFactoryImpl.php index 4b9cf32a7..e00417619 100644 --- a/src/PAMI/Message/Event/Factory/Impl/EventFactoryImpl.php +++ b/src/PAMI/Message/Event/Factory/Impl/EventFactoryImpl.php @@ -69,7 +69,7 @@ public static function createFromRaw($message) for ($i = 0; $i < $totalParts; $i++) { $parts[$i] = ucfirst($parts[$i]); } - $name = implode('', $parts); + $name = implode('', $parts); # changed line $className = '\\PAMI\\Message\\Event\\' . $name . 'Event'; if (class_exists($className, true)) { return new $className($message);