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:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user