ZF-11397: Zend_Config_Yaml - Constructor - Wrong parameter type specified in docBlock

Description

Zend_Config_Yaml

My IDE (PHPStorm) report me an error like this when I pass array options in constructor:


Espected bool, got array
Invocation parameter type are not compatible with declared.

This issue can be solved by changing the parameter type:


     * @param  boolean $options Whether modifications are allowed at runtime

To


     * @param  boolean|array $options description....

I lets you make then new description...

Comments

Fixed on trunk in r24044 and release-1.11 in r24045.