Yes, out of scope, at least here at the beginning.  Once we get a baseline
draft covering the minimal "already in use old stuff" covered, I'm
expecting us to open up topics on "new stuff" to add, generics included.
Not that I'm convinced we'll get that one nailed down to enough agreement
that we can for sure include it in this round of PSRs... my point is only
that I wish to not let such a future/forward looking discussion derail the
rest of the PSR content.
CRB
*about.me/ashnazg <http://about.me/ashnazg>*


On Mon, Dec 10, 2018 at 9:41 PM Jan Tvrdík <[email protected]> wrote:

> Yes, it needs generics syntax, making it currently intentionally
> out-of-scope.
> If you don't mind ugly hacks with unclear semantics that may stop working
> in the future, you can also use `iterable|User[]`.
>
>
> On Saturday, December 8, 2018 at 9:44:14 PM UTC+1, Chuck Burgess wrote:
>>
>> I'm thinking this use case will probably need to rely on some kind of
>> collection/generics syntax.  Do we know if PhpStorm / PHPStan / etc have
>> looked at syntaxes for this use case?
>> CRB
>> *about.me/ashnazg <http://about.me/ashnazg>*
>>
>

-- 
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/CANsgjntTiq6xr_23ANt8BegAwUe1Tg6KjA%2BQOydVut04GgmbcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to