[web-php] master: Simplify stand-alone type example (#733)

From: Date: Fri, 09 Dec 2022 04:32:47 +0000
Subject: [web-php] master: Simplify stand-alone type example (#733)
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-30682@lists.php.net to get a copy of this message
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 { /* ... */ *} }

« previous php.webmaster (#30682) next »