terax6669 commented on issue #3524: URL: https://github.com/apache/netbeans/issues/3524#issuecomment-2041399599
PHPStorm supports generics, Laravel uses them. I'm sure there's more examples. Even though this isn't strictly a PHP feature, it's used in real projects and helps a lot. This should be a priority to implement. Example class: https://github.com/laravel/framework/blob/11.x/src/Illuminate/Collections/Collection.php ```php /** * @template TKey of array-key * * @template-covariant TValue * * @implements \ArrayAccess<TKey, TValue> * @implements \Illuminate\Support\Enumerable<TKey, TValue> */ class Collection implements ArrayAccess, CanBeEscapedWhenCastToString, Enumerable ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
