Permalink
Browse files

Merge pull request #2283 from diemuzi/patch-7

Update library/Zend/Code/Reflection/ParameterReflection.php
  • Loading branch information...
Freeaqingme committed Aug 31, 2012
2 parents 82e8995 + 37e9f54 commit 3a4cee6fb38c7e9cae512c4fa34be448d3848afe
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/Zend/Code/Reflection/ParameterReflection.php
@@ -80,7 +80,7 @@ public function getDeclaringFunction($reflectionClass = null)
*/
public function getType()
{
- if ($docBlock = $this->getDeclaringFunction()->getDocBlock()) {
+ if (($docBlock = $this->getDeclaringFunction()->getDocBlock()) !== false) {
$params = $docBlock->getTags('param');
if (isset($params[$this->getPosition()])) {

0 comments on commit 3a4cee6

Please sign in to comment.