Revert "Issue #3444264 by andypost: [PHP 8.4] ReflectionMethod constructor deprecated with one argument" This reverts commit 40898b61.