Hi, I think that if we want to implement @type, it should be able to appear anywhere, and can inherit by structure.
I'm building a PHPDoc parser based on lexical analysis, but I'm getting into some trouble 在 2017年4月2日星期日 UTC+8上午1:49:08,Alexander Makarov写道: > > Current text is done by phpdoc author. It was put on hold but there is a > plan to form a working group to develop it further. > > What's the context of your proposal? Where do you suggest to place @type > annotations? > > On Monday, March 27, 2017 at 9:29:30 PM UTC+3, Clint Priest wrote: >> >> What is the status of PSR-5, I know its in Draft "Status," but is it >> being actively worked on or is it dead? >> >> How does it relate to the phpdoc.org site? >> >> *Suggestion:* >> @type or @alias - Would be used to group alternatives together into a >> shortened name: >> >> *Currently Required:* >> >> /** >> * @var mySuppressionListStrategy|myDeliveryListStrategy $objStrategy >> */ >> >> Is quite verbose, I would propose >> >> *Alternative using @type* >> /** >> * @type myListStrategies >> mySuppressionListStrategy|myDeliveryListStrategy >> */ >> >> /** >> * @var myListStrategies $objStrategy >> */ >> >> Thanks, >> >> -Clint >> > -- You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/c69417fc-7e68-476f-a253-dcea9b3a8490%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
