`@return $this` is definitely an invalid annotation; phpdoc will not expand
it.

On Wednesday, February 6, 2013, Abdul Malik Ikhsan wrote:

> In library/Zend/Permissions/Rbac/Rbac.php:
>
> > @@ -23,7 +23,7 @@ class Rbac extends AbstractIterator
> >
> >      /**
> >       * @param  boolean                     $createMissingRoles
> > -     * @return \Zend\Permissions\Rbac\Rbac
> > +     * @return $this
>
> @Maks3w <https://github.com/Maks3w> : I look at other files in zf2, there
> is some of docblock return $this. should I correct them ?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/zendframework/zf2/pull/3677/files#r2907165>.
>
>


-- 
Matthew Weier O'Phinney
matthew@weierophinney.net
http://mwop.net/