Re: [RFC] Static return type
| From: | Mike Schinkel | Date: | Sat, 11 Jan 2020 00:34:08 +0000 |
| Subject: | Re: [RFC] Static return type | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-108096@lists.php.net to get a copy of this message | ||
> On Jan 10, 2020, at 1:19 PM, Andreas Hennings <andreas@dqxtech.net> wrote:
>
> This would work, but:
> ": $this". With fluent + static I would have to look in two places.
How about :fluent?
This would indicate both a type and a further constraint meaning $this.
Something to consider...?
-Mike