mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-03 12:17:48 +08:00
Fixed typo for Hyperf\Nacos\GrpcClient
(#6499)
This commit is contained in:
parent
d1f8814a58
commit
5956a2bc40
@ -222,7 +222,7 @@ class GrpcClient
|
|||||||
$response->dataId,
|
$response->dataId,
|
||||||
$response
|
$response
|
||||||
),
|
),
|
||||||
$response instanceof NotifySubscriberRequest => $this->hanldeNaming($response),
|
$response instanceof NotifySubscriberRequest => $this->handleNaming($response),
|
||||||
};
|
};
|
||||||
|
|
||||||
$this->listen();
|
$this->listen();
|
||||||
@ -260,7 +260,7 @@ class GrpcClient
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function hanldeNaming(NotifySubscriberRequest $response): void
|
protected function handleNaming(NotifySubscriberRequest $response): void
|
||||||
{
|
{
|
||||||
$serviceInfo = $response->serviceInfo;
|
$serviceInfo = $response->serviceInfo;
|
||||||
$key = $serviceInfo->toKeyString();
|
$key = $serviceInfo->toKeyString();
|
||||||
@ -280,6 +280,14 @@ class GrpcClient
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated since 3.1, use handleNaming instead.
|
||||||
|
*/
|
||||||
|
protected function hanldeNaming(NotifySubscriberRequest $response)
|
||||||
|
{
|
||||||
|
$this->handleNaming($response);
|
||||||
|
}
|
||||||
|
|
||||||
protected function serverCheck(): bool
|
protected function serverCheck(): bool
|
||||||
{
|
{
|
||||||
$request = new ServerCheckRequest();
|
$request = new ServerCheckRequest();
|
||||||
|
Loading…
Reference in New Issue
Block a user