Skip to content

Commit

Permalink
[BUGFIX] Fixes CommentParser to leave out 0 in @param and @var commen…
Browse files Browse the repository at this point in the history
…ts. Closes #504
  • Loading branch information
Arul- committed Mar 16, 2018
1 parent cd0c21b commit 188968f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/Luracast/Restler/CommentParser.php
Expand Up @@ -195,7 +195,7 @@ private function extractData($comment)
list(, $param, $value) = preg_split('/\@|\s/', $line, 3)
+ array('', '', '');
list($value, $embedded) = $this->parseEmbeddedData($value);
$value = array_filter(preg_split('/\s+/msu', $value));
$value = array_filter(preg_split('/\s+/msu', $value),'strlen');
$this->parseParam($param, $value, $embedded);
}
return $this->_data;
Expand Down

0 comments on commit 188968f

Please sign in to comment.