[php-src] PR #16213: Stubs and generated arginfo: remove tentative returns from final methods

From: Date: Fri, 04 Oct 2024 01:34:38 +0000
Subject: [php-src] PR #16213: Stubs and generated arginfo: remove tentative returns from final methods
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-28995@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/16213 Author: DanielEScherzer A tentative return type is used to allow userland code that overrides a method to not include a typehint without a fatal error; this is inapplicable to final methods (including all methods of final classes), which cannot be overridden. Remove the tentative return declarations, and update the build script to complain about future additions.

« previous php.git-pulls (#28995) next »