-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php8.4.2环境下启动报错,nullable 的问题 #31
Comments
当运行命令行之后,也就是创建队列的文件后,重新启动。也会出现大量类似的问题 里面好多方法都需要加上问号"?"或者是 null 类型 |
不止这一个文件呢 |
这个是因为对等依赖的问题,我找到了 |
|
这样的情况下,只能换别的rabbitMQ 客户端 使用了,毕竟第一个问题即使改了,也没法用 |
目前不支持php8.4,新版计划是自维护bunny |
需在在/src/helpers.php文件的66行,方法名为config 里面加上问号,类似这样
function config(?string $key = null, mixed $default = null): mixed
{
if(AbstractBuilder::$debug) {
Config::load(config_path());
return Config::get($key, $default);
}else{
return \config($key, $default);
}
}
这个的"$key" 的类型 string的前面
The text was updated successfully, but these errors were encountered: