Skip to content

Commit

Permalink
Fix implode from issue marcelog#212 thanks to @gutorsantos
Browse files Browse the repository at this point in the history
  • Loading branch information
lorismich committed Feb 1, 2022
1 parent db4b227 commit 64ac8b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PAMI/Message/Event/Factory/Impl/EventFactoryImpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 64ac8b1

Please sign in to comment.