Skip to content

Commit

Permalink
Merge pull request #486 from joncave/issue-419
Browse files Browse the repository at this point in the history
Param tag type ending in "[]" matches the "array" type hint
  • Loading branch information
mvriel committed Jun 6, 2012
2 parents 6850b18 + 352fe36 commit b63570e
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -212,6 +212,10 @@ protected function doesArgumentTypehintMatchParam(
|| in_array($argument->getType(), $param->getTypes())
) {
return true;
} else if ($argument->getType() == 'array'
&& substr($param->getType(), -2) == '[]'
) {
return true;
}

$this->logParserError(
Expand Down

0 comments on commit b63570e

Please sign in to comment.