diff --git a/composer.json b/composer.json index 83e4c798d..def571faf 100644 --- a/composer.json +++ b/composer.json @@ -1,15 +1,15 @@ { - "name": "marcelog/pami", + "name": "said-nizam-wevetel/pami", "type": "library", "description": "Asterisk Manager Interface (AMI) client for PHP, event driven, object oriented", "keywords": ["asterisk","ami","client","telephony","voip","event","action","manager","monitor"], - "homepage": "http://marcelog.github.com/PAMI", + "homepage": "https://github.com/SaidNizamWevetel/PAMI", "license": "Apache-2.0", "authors": [ { - "name": "Marcelo Gornstein", - "email": "marcelog@gmail.com", - "homepage": "http://marcelog.github.com/", + "name": "Nizamuddin Nadim", + "email": "said.nizam@wevetel.com", + "homepage": "https://github.com/SaidNizamWevetel/PAMI", "role": "Developer" } ], diff --git a/src/PAMI/Message/Event/Factory/Impl/EventFactoryImpl.php b/src/PAMI/Message/Event/Factory/Impl/EventFactoryImpl.php index 4b9cf32a7..c97becf88 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, ''); $className = '\\PAMI\\Message\\Event\\' . $name . 'Event'; if (class_exists($className, true)) { return new $className($message);