|
|
@@ -339,7 +339,9 @@ abstract class Zend_Server_Reflection_Function_Abstract
|
|
|
require_once 'Zend/Server/Reflection/Exception.php';
|
|
|
throw new Zend_Server_Reflection_Exception(
|
|
|
'Variable number of arguments is not supported for services (except optional parameters). '
|
|
|
- . 'Number of function arguments must correspond to actual number of arguments described in a docblock.');
|
|
|
+ . 'Number of function arguments in ' . $function->getDeclaringClass()->getName() . '::'
|
|
|
+ . $function->getName() . '() must correspond to actual number of arguments described in the '
|
|
|
+ . 'docblock.');
|
|
|
}
|
|
|
|
|
|
$paramTypes = array();
|