chore(deps): bump wolf-leo/phplogviewer from 0.08.0 to 0.10.0

Update the wolf-leo/phplogviewer package from version 0.08.0 to 0.10.0 in composer.json.
This update may include new features, bug fixes, and performance improvements in the PHP log viewer library.

- Update wolf-leo/phplogviewer from ^0.08.0 to ^0.10.0 in composer.json
- Modify return type of System\Log\record() method to Json|string for improved type hinting

Signed-off-by: wolfcode <37436228+wolf-leo@users.noreply.github.com>
This commit is contained in:
wolfcode
2024-10-12 14:00:14 +08:00
parent d613f3c26f
commit 4d7365921e
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ class Log extends AdminController
/**
* @NodeAnnotation(title="框架日志")
*/
public function record(): string
public function record(): Json|string
{
return (new \Wolfcode\PhpLogviewer\thinkphp\LogViewer())->fetch();
}

View File

@@ -37,7 +37,7 @@
"qiniu/php-sdk": "v7.11.0",
"ext-mysqli": "*",
"ext-pdo": "*",
"wolf-leo/phplogviewer": "^0.08.0"
"wolf-leo/phplogviewer": "^0.10.0"
},
"require-dev": {
"symfony/var-dumper": ">=4.2",