改名
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Kiri\Rpc;
|
||||
|
||||
use Annotation\Inject;
|
||||
use Note\Inject;
|
||||
use Exception;
|
||||
use Http\Message\Response;
|
||||
use Http\Message\Stream;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Kiri\Rpc\Annotation;
|
||||
namespace Kiri\Rpc\Note;
|
||||
|
||||
use Annotation\Attribute;
|
||||
use Note\Attribute;
|
||||
use Kiri\Abstracts\Config;
|
||||
use Kiri\Consul\Agent;
|
||||
use Kiri\Exception\ConfigException;
|
||||
+4
-4
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace Kiri\Rpc;
|
||||
|
||||
use Annotation\Annotation;
|
||||
use Annotation\Inject;
|
||||
use Note\Note;
|
||||
use Note\Inject;
|
||||
use Http\Constrict\RequestInterface;
|
||||
use Http\Handler\Router;
|
||||
use Http\Message\ServerRequest;
|
||||
@@ -40,8 +40,8 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
|
||||
public Router $router;
|
||||
|
||||
|
||||
#[Inject(Annotation::class)]
|
||||
public Annotation $annotation;
|
||||
#[Inject(Note::class)]
|
||||
public Note $annotation;
|
||||
|
||||
|
||||
#[Inject(EventProvider::class)]
|
||||
|
||||
Reference in New Issue
Block a user