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);