correct method getClassName() of class QuesttypeAgent() to match parent definition

This commit is contained in:
coderkun 2014-06-17 22:32:32 +02:00
commit 9daa3505aa

View file

@ -96,9 +96,10 @@
*
* @static
* @param string $questtypeName Questtype-name to get Agent-classname of
* @param string $agentType Agent type of given Agent name
* @return string Classname for the Questtype-name
*/
private static function getClassName($questtypeName)
private static function getClassName($questtypeName, $agentType)
{
$className = \nre\core\ClassLoader::concatClassNames($questtypeName, \nre\core\ClassLoader::stripClassType(\nre\core\ClassLoader::stripNamespace(get_class())), 'agent');