php parsing bug

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

php parsing bug

pfa
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)
                        ->get()
                        ->map(function ($object) use ($user)
                        {
                                /** @var UserNotification $object */
                                $object->setShowingForUser($user);
                                return $object;
                        });

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