Skip to content

Commit

Permalink
MDL-21461 Temporary fix for ZF-6996 until Zend 1.10 is released
Browse files Browse the repository at this point in the history
  • Loading branch information
Penny Leach committed Jan 28, 2010
1 parent 9d51b4c commit fbac726
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zend/Zend/Server/Reflection/Function/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ protected function _reflect()
// Get param types and description
if (preg_match_all('/@param\s+([^\s]+)/m', $docBlock, $matches)) {
$paramTypesTmp = $matches[1];
if (preg_match_all('/@param\s+\S+\s+(\$^\S+)\s+(.*?)(@|\*\/)/s', $docBlock, $matches))
if (preg_match_all('/@param\s+\S+\s+(\$\S+)\s+(.*?)(@|\*\/)/s', $docBlock, $matches))
{
$paramDesc = $matches[2];
foreach ($paramDesc as $key => $value) {
Expand Down
1 change: 1 addition & 0 deletions lib/zend/readme_moodle.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ Do not use outside of our /webservice/* !!
Changes:
* lots of files removed
* small fix to error reporting in reflection (MDL-21460, ZF-8980)
* regular expression fix in reflection (committed upstream, will be in 1.10) (MDL-21461, ZF-6996)

0 comments on commit fbac726

Please sign in to comment.