Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Using Zend-view with PHP STAN #183

Open
vitorloureiro opened this issue Feb 14, 2019 · 2 comments
Open

Using Zend-view with PHP STAN #183

vitorloureiro opened this issue Feb 14, 2019 · 2 comments

Comments

@vitorloureiro
Copy link

vitorloureiro commented Feb 14, 2019

Currently i am using the zend view in my project and i notice a very small problem with the docblock of the \Zend\View\Model\ViewModel class constructor.
Where it says @param null|array|Traversable $variables should be @param null|array|Traversable|ArrayAccess $variables

In the same constructor if no $variables is provided the constructor initializes it with one instance of arrayAccess.

@dennybrandes
Copy link

Yes, you are right, cause method setVariables, which is called, also define ArrayAccess in DocBlock

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-view; a new issue has been opened at laminas/laminas-view#5.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants