Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Merge pull request #2283 from diemuzi/patch-7
Browse files Browse the repository at this point in the history
Update library/Zend/Code/Reflection/ParameterReflection.php
  • Loading branch information
Freeaqingme committed Aug 31, 2012
2 parents 82e8995 + 37e9f54 commit 3a4cee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Code/Reflection/ParameterReflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()])) {
Expand Down

0 comments on commit 3a4cee6

Please sign in to comment.