改名
This commit is contained in:
@@ -9,7 +9,6 @@ use Database\DatabasesProviders;
|
||||
use HttpServer\Client\Client;
|
||||
use HttpServer\Client\Curl;
|
||||
use HttpServer\Client\Http2;
|
||||
use HttpServer\Emit;
|
||||
use HttpServer\Http\Request;
|
||||
use HttpServer\Http\Response;
|
||||
use HttpServer\HttpFilter;
|
||||
@@ -52,7 +51,6 @@ use Rpc\Producer as RPCProducer;
|
||||
* @property RPCProducer $rpc
|
||||
* @property Channel $channel
|
||||
* @property Shutdown $shutdown
|
||||
* @property Emit $emit
|
||||
* @property Pool $clientsPool
|
||||
*/
|
||||
trait TraitApplication
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user