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

Commit

Permalink
Update library/Zend/Code/Reflection/ParameterReflection.php
Browse files Browse the repository at this point in the history
Resolves assignment in condition notice
  • Loading branch information
diemuzi committed Aug 31, 2012
1 parent 02f88da commit 37e9f54
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 37e9f54

Please sign in to comment.