[RFC][DISCUSSION] Object type hint, now with added variance
| From: | Dan Ackroyd | Date: | Wed, 23 Nov 2016 00:52:02 +0000 |
| Subject: | [RFC][DISCUSSION] Object type hint, now with added variance | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-97135@lists.php.net to get a copy of this message | ||
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