Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'release'

  • Loading branch information...
commit 8d687894429de2bbdd74829e9e650db2b0c24072 2 parents 501223e + c23360e
@weierophinney weierophinney authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  library/Zend/Server/Reflection/AbstractFunction.php
View
2  library/Zend/Server/Reflection/AbstractFunction.php
@@ -268,7 +268,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) {
$value = preg_replace('/\s?\*\s/m', '', $value);
Please sign in to comment.
Something went wrong with that request. Please try again.