fixed wrong function call in CallToDeprecatedStaticMethods/Definition.ph...

Hopefully fix forge issue #57288