From f09a675c4092e801565575f69d6cd7ffaeb92631 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Sun, 27 Jul 2014 23:14:57 +0200 Subject: [PATCH] #6288 - more specific parameter hinting for `addConstants` --- library/Zend/Code/Generator/ClassGenerator.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/Zend/Code/Generator/ClassGenerator.php b/library/Zend/Code/Generator/ClassGenerator.php index 86f682d401d..b0e05e9faf0 100644 --- a/library/Zend/Code/Generator/ClassGenerator.php +++ b/library/Zend/Code/Generator/ClassGenerator.php @@ -531,7 +531,8 @@ public function addConstant($name, $value) } /** - * @param array $constants + * @param PropertyGenerator[]|array[] $constants + * * @return ClassGenerator */ public function addConstants(array $constants)