Skip to content

Commit

Permalink
修正Application类
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Jul 20, 2023
1 parent 55d4306 commit 2bd7165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"require": {
"workerman/workerman": "^3.5.23",
"workerman/gateway-worker": "^3.0.0",
"topthink/framework": "^6.0|^8.0",
"topthink/framework": "^8.0",
"ext-fileinfo": "*"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function worker($connection)
* 是否运行在命令行下
* @return bool
*/
public function runningInConsole()
public function runningInConsole(): bool
{
return false;
}
Expand Down

0 comments on commit 2bd7165

Please sign in to comment.