Skip to content

Conversation

@JaguarJack
Copy link
Contributor

新拉取的 webman 使用 think-orm 插件的时候,会报如下错误

Fatal error: Declaration of Webman\ThinkOrm\DbManager::instance(?string $name = null, bool $force = false): think\db\ConnectionInterface must be compatible with think\DbManager::instance(array|string|null $name = null, bool $force = false): think\db\ConnectionInterface in C:\project\catch-webman\vendor\webman\think-orm\src\DbManager.php on line 37

新拉取的 webman 使用 think-orm 插件的时候,会报如下错误

Fatal error: Declaration of Webman\ThinkOrm\DbManager::instance(?string $name = null, bool $force = false): think\db\ConnectionInterface must be compatible with think\DbManager::instance(array|string|null $name = null, bool $force = false): think\db\ConnectionInterface in C:\project\catch-webman\vendor\webman\think-orm\src\DbManager.php on line 37
@walkor walkor merged commit af4a258 into webman-php:main May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants