modify plugin name
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Kiri\Server\Events;
|
||||
|
||||
use Swoole\Process;
|
||||
|
||||
class OnProcessStop
|
||||
{
|
||||
|
||||
/**
|
||||
* @param Process $process
|
||||
*/
|
||||
public function __construct(Process $process)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,7 +2,9 @@
|
||||
|
||||
namespace Kiri\Server\Events;
|
||||
|
||||
use Kiri\Exception\ConfigException;
|
||||
use Swoole\Server;
|
||||
use Kiri;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -11,13 +13,13 @@ class OnTaskerStart
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* @param Server $server
|
||||
* @param int $workerId
|
||||
*/
|
||||
public function __construct(public Server $server, public int $workerId)
|
||||
{
|
||||
}
|
||||
/**
|
||||
* @param Server $server
|
||||
* @param int $workerId
|
||||
*/
|
||||
public function __construct(public Server $server, public int $workerId)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -11,13 +11,13 @@ class OnWorkerStart
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* @param Server $server
|
||||
* @param int $workerId
|
||||
*/
|
||||
public function __construct(public Server $server, public int $workerId)
|
||||
{
|
||||
}
|
||||
/**
|
||||
* @param Server|null $server
|
||||
* @param int $workerId
|
||||
*/
|
||||
public function __construct(public ?Server $server, public int $workerId)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user