rfc:allow-void-variance
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:allow-void-variance [2019/02/04 06:37] – wesnetmo | rfc:allow-void-variance [2019/02/04 07:48] (current) – wesnetmo | ||
---|---|---|---|
Line 35: | Line 35: | ||
function myFooConsumer (Foo $foo) { | function myFooConsumer (Foo $foo) { | ||
- | // method() is void, therefore we won't be using its return | + | // method() is void, therefore we won't be using its return |
| | ||
Line 48: | Line 48: | ||
The '' | The '' | ||
- | For this reason adding a type to '' | + | For this reason adding a type to '' |
===== Proposal ===== | ===== Proposal ===== |
rfc/allow-void-variance.txt · Last modified: 2019/02/04 07:48 by wesnetmo