On Mon, Dec 2, 2019, at 6:40 PM, G. P. B. wrote:

> I've left comments on GitHub but I'll also add them here.
> 
> The addition of argument types should be tagged as 1.1, as it is fully 
> backward compatible with 1.0 and provided the major benefit of allowing 
> implementations to finally type argument types.
> I see personally less value in the hassle of the V3 (which should be V2 
> due to the argument type one being tagged as 1.1.0) because as of PHP 
> 7.4 and the possibility of contravariant return types,
> implementations can add return types to methods implementing these 
> interfaces. 
> 
> Best regards
> 
> George P. Banyard

They can add returns, but it's still better if the interface makes it 
syntactically explicit.  Future implementations should be under no illusion of 
what they're expected to do, and the more we can put those rules into the code 
itself, the better.

--Larry Garfield

-- 
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 php-fig+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/45b701e5-234a-4e17-97a4-7d6f4622ba69%40www.fastmail.com.

Reply via email to