From 9daa3505aabb4bd12d49136680d03a5a92ddd50d Mon Sep 17 00:00:00 2001 From: coderkun Date: Tue, 17 Jun 2014 22:32:32 +0200 Subject: [PATCH] correct method getClassName() of class QuesttypeAgent() to match parent definition --- app/agents/QuesttypeAgent.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/agents/QuesttypeAgent.inc b/app/agents/QuesttypeAgent.inc index 6b9d0545..b762df1e 100644 --- a/app/agents/QuesttypeAgent.inc +++ b/app/agents/QuesttypeAgent.inc @@ -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');