Skip to content

Commit

Permalink
fix Zend_View_Abstract::__get() phpdoc (#87)
Browse files Browse the repository at this point in the history
as discussed in phpstan upstream issue phpstan/phpstan#3927 (comment)

to access variables from within a controller via $this->view without a phpstan error, this phpdoc needs to be fixed.
  • Loading branch information
staabm authored Mar 15, 2021
1 parent dd16213 commit 4e4e70d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zend-view/library/Zend/View/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public function init()
* If {@link strictVars()} is on, raises a notice.
*
* @param string $key
* @return null
* @return mixed
*/
public function __get($key)
{
Expand Down

0 comments on commit 4e4e70d

Please sign in to comment.