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

Issue Type: Docs: Problem Created: 2011-05-23T00:55:19.000+0000 Last Updated: 2011-05-23T12:45:48.000+0000 Status: Resolved Fix version(s): Reporter: Laurent declercq (nuxwin) Assignee: Rob Allen (rob) Tags: - Zend_Config

  • Zend_Config_Yaml

Related issues: Attachments:



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

<pre class="highlight">
Espected bool, got array
Invocation parameter type are not compatible with declared.

This issue can be solved by changing the parameter type:

<pre class="highlight">
     * @param  boolean $options Whether modifications are allowed at runtime


<pre class="highlight">
     * @param  boolean|array $options description....

I lets you make then new description...


Posted by Rob Allen (rob) on 2011-05-23T12:45:48.000+0000

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

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.