Re: Warning for "confusable" types
| From: | Stanislav Malyshev | Date: | Mon, 14 Oct 2019 07:53:28 +0000 |
| Subject: | Re: Warning for "confusable" types | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-107536@lists.php.net to get a copy of this message | ||
Hi!
> I was about to give my +1 on the more generic approach, but type hints
> could also be interfaces and "instance of the class X" is not a good fit.
We could use "class or interface" if that's important.
--
Stas Malyshev
smalyshev@gmail.com