Skip to content

Commit

Permalink
zendframework#6288 - more specific parameter hinting for addConstants
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius authored and dima committed Nov 27, 2014
1 parent 5a2e8bc commit f09a675
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/Zend/Code/Generator/ClassGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,8 @@ public function addConstant($name, $value)
}

/**
* @param array $constants
* @param PropertyGenerator[]|array[] $constants
*
* @return ClassGenerator
*/
public function addConstants(array $constants)
Expand Down

0 comments on commit f09a675

Please sign in to comment.