php parsing bug

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

php parsing bug

This post has NOT been accepted by the mailing list yet.
This post was updated on .
I have a class which is parsed correctly (mostly) in that it appears in my resulting html output. But in one of the functions I have this code:

                $notifications = UserNotification::whereIn('id', $ids)
                        ->map(function ($object) use ($user)
                                /** @var UserNotification $object */
                                return $object;

The /** @var ... */ directive causes the encapsulating function to be skipped in the documentation.