1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-23 09:23:09 +02:00

lib/zend: MDL-21460 Zend Reflection - give a nicer error message when the phpdocs don't match the function signature. Bug filed upstream: http://framework.zend.com/issues/browse/ZF-8980

This commit is contained in:
Penny Leach 2010-01-28 05:06:53 +00:00
parent 72bb7e3236
commit 9d51b4c531
2 changed files with 5 additions and 2 deletions
lib/zend
Zend/Server/Reflection/Function
readme_moodle.txt

@ -339,7 +339,8 @@ 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 must correspond to actual number of arguments described in a docblock '
. '(function was ' . $function->getName() . ')');
}
$paramTypes = array();

@ -5,4 +5,6 @@ Do not use outside of our /webservice/* !!
Changes:
* lots of files removed, no changes
* lots of files removed
* small fix to error reporting in reflection (MDL-21460, ZF-8980)