Re: [RFC][DISCUSSION] Object type hint, now with added variance
| From: | Marco Pivetta | Date: | Wed, 23 Nov 2016 01:42:32 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Object type hint, now with added variance | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-97137@lists.php.net to get a copy of this message | ||
This looks awesome to me: nicely cleaned up! 👍
On 23 Nov 2016 01:52, "Dan Ackroyd" <danack@basereality.com> wrote:
> Hi,
>
> This is the reintroduction of the Object Type RFC for discussion.
>
> There was previously strong feedback from people who would prefer that
> the inheritance checks for methods that use object types should be
> co/contravariant. This has been added to the RFC.
>
> https://wiki.php.net/rfc/object-typehint
>
> cheers
> Dan
> Ack
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>