使用url() 会出现错误
dxing1202 opened this issue · comments
dxing1202 commented
使用助手函数后出现 Declaration of think\app\Url::build() must be compatible with think\route\Url::build(): string 报错
dxing1202 commented
使用的是thinkphp8.0.x-dev php8.1
使用多应用时
修改 vendor/topthink/think-multi-app/src/Url.php 71行
public function build() 改成 public function build(): string 就行了