rfc:internal_method_return_types
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:internal_method_return_types [2021/04/18 13:40] – kocsismate | rfc:internal_method_return_types [2021/05/14 13:57] (current) – kocsismate | ||
---|---|---|---|
Line 2: | Line 2: | ||
* Date: 2021-03-06 | * Date: 2021-03-06 | ||
* Author: Máté Kocsis < | * Author: Máté Kocsis < | ||
- | * Status: | + | * Status: |
* Implementation: | * Implementation: | ||
+ | * Target Version: PHP 8.1 | ||
===== Introduction ===== | ===== Introduction ===== | ||
Line 67: | Line 68: | ||
</ | </ | ||
- | Unfortunately, | + | Unfortunately, |
<code php> | <code php> | ||
Line 75: | Line 76: | ||
* @return DateTime|false | * @return DateTime|false | ||
*/ | */ | ||
- | #[SuppressReturnTypeNotice] | + | #[ReturnTypeWillChange] |
public function modify(string $modifier) { return false; } | public function modify(string $modifier) { return false; } | ||
} | } | ||
Line 102: | Line 103: | ||
===== Vote ===== | ===== Vote ===== | ||
- | Add return type declarations for internal methods in the proposed schedule? | + | Voting started 2021-04-22 and ends 2021-05-06 UTC. The vote requires 2/3 majority to be accepted. |
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </doodle> | ||
+ |
rfc/internal_method_return_types.1618753242.txt.gz · Last modified: 2021/04/18 13:40 by kocsismate