China丶Moli
China丶Moli
版本:v2.0.40 ```php
`GuzzleHttp` 抛出 `GuzzleHttp\Exception\ConnectException` 异常时,不存在 `hasResponse()` 方法,导致捕获异常时报错
**Describe the bug** Calling a static method of type `class-string` in strict mode will prompt `Expected type 'string|object'. Found 'class-string'` **To Reproduce** ```php
**Describe the bug** Passing `Foo::class` into a function that requires `string` type in strict mode will result in an error. **To Reproduce** ```php
When using VSCode with the [laravel/vs-code-extension](https://github.com/laravel/vs-code-extension) plugin installed, the plugin automatically determines and modifies the return value of Auth::user() to the corresponding model (`\App\Models\User`) However, `\Tymon\JWTAuth\JWTGuard::user()` duplicates the return value,...
## 变动 1. 执行 `php think optimize` 后将自动运行 `optimize:*` 命令,在生产环境中只需执行 `php think optimize` 即可。 2. 同时优化 `optimize:config`、`optimize:route`、`optimize:schema` 命令,不传递 `dir` 参数时自动发现项目中对应的配置文件(支持多应用模式)。 3. 修复 `optimize:schema` 命令未缓存 model 目录的子目录内的模型文件