tp5.0 PHP8.0报错Method ReflectionParameter::getClass() is deprecated

发布日期 2024-01-04

$class = $param->getClass();
//更换为
$class = $param->getType();