Re: [RFC][Vote] Typed Properties
| From: | Bob Weinand | Date: | Fri, 10 Jun 2016 14:19:41 +0000 |
| Subject: | Re: [RFC][Vote] Typed Properties | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93868@lists.php.net to get a copy of this message | ||
> Am 10.06.2016 um 16:16 schrieb Niklas Keller <me@kelunik.com>:
>
>
> 2016-06-10 16:12 GMT+02:00 Bob Weinand <bobwei9@hotmail.com
> <mailto:bobwei9@hotmail.com>>:
> In this case a definite -1 on the RFC from me. I don't want "surprises"
> regarding the type if a property is declared to return a certain type.
>
> Where's the surprise?
Receiving a different type than I asked for. (as promised by the type decl)
Bob