This commit is contained in:
2021-07-13 11:28:12 +08:00
parent e42c2b442f
commit 6b3be1b0f9
3 changed files with 4 additions and 49 deletions
+4 -7
View File
@@ -21,13 +21,10 @@ use Snowflake\Abstracts\BaseApplication;
use Snowflake\Abstracts\Config;
use Snowflake\Abstracts\Input;
use Snowflake\Abstracts\Kernel;
use Snowflake\Core\Json;
use Snowflake\Crontab\CrontabProviders;
use Snowflake\Exception\NotFindClassException;
use stdClass;
use Swoole\Timer;
use Wchat\WchatProviders;
use function Co\run;
/**
* Class Init
@@ -106,10 +103,10 @@ class Application extends BaseApplication
}
/**
* @param $kernel
* @return $this
*/
/**
* @param Kernel $kernel
* @return $this
*/
public function commands(Kernel $kernel): static
{
foreach ($kernel->getCommands() as $command) {