Author: Nikita Popov (nikic) Committer: GitHub (web-flow) Pusher: saundefined Date: 2022-12-09T07:21:25+03:00
Commit: https://github.com/php/web-php/commit/2fdcef34329dc8f7e3e5124d89a89469b6a2bf4a Raw diff: https://github.com/php/web-php/commit/2fdcef34329dc8f7e3e5124d89a89469b6a2bf4a.diff Simplify stand-alone type example (#733) Changed paths: M releases/8.2/release.inc Diff: diff --git a/releases/8.2/release.inc b/releases/8.2/release.inc index e9fe8e767..e291205e5 100644 --- a/releases/8.2/release.inc +++ b/releases/8.2/release.inc @@ -160,9 +160,9 @@ PHP <<<'PHP' class Falsy { - public function almostFalse(): string|bool { /* ... */ *} + public function almostFalse(): bool { /* ... */ *} - public function almostTrue(): string|bool { /* ... */ *} + public function almostTrue(): bool { /* ... */ *} public function almostNull(): string|null { /* ... */ *} } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
