Mr.唐

Results 22 issues of Mr.唐

Execute the command and paste the result below. Command: `uname -a && php -v && composer info | grep hyperf && php --ri swoole` ```bash Darwin 21.6.0 Darwin Kernel Version...

bug

SDK很多 很全 , 是否可以补充一下文档

``` $span->log([ 'event'=>'error', 'stack'=> (string)$exception, ]); ``` ![image](https://user-images.githubusercontent.com/24579418/160357238-70a69ac4-fe4c-4649-9e38-8219defeb256.png) `event` and `stack` valid

子进程异常退出时, 主进程终止 防止 误以为框架启动成功

Enum Eloquent 属性转换 注意:枚举转换仅适用于 PHP 8.1+。 枚举转换由 Mohamed Said 贡献。 Eloquent 现在允许您将属性值转换为 PHP “backed” enums。 为此,您可以在模型的 $casts 属性数组中指定要转换的属性和枚举: ``` use App\Enums\ServerStatus; /** * The attributes that should be cast. *...

enhancement

## swoole5.1已支持协程化 SQL Server和SQLite, 希望框架能支持ORM查询

enhancement

最近看到这个文章 https://blog.csdn.net/lqb3732842/article/details/126559432 测试了一下, 并发下获取类, 可能出现获取到不同实例 ### 测试类 ``` public function testDi() { go(function (){ $goods = ApplicationContext::getContainer()->get(GoodsInfoService::class); var_dump($goods); }); go(function (){ $goods = ApplicationContext::getContainer()->get(GoodsInfoService::class); var_dump($goods); }); go(function (){ $goods =...

fix final=false bug

Optimize the group by count calculation