This commit is contained in:
2021-08-12 15:08:46 +08:00
parent c9d2edd7d5
commit 2ad860180e
4 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ class UdpEmitter implements Emitter
* @throws \ReflectionException
* @throws \Exception
*/
public function sender(Server $response, ResponseInterface $emitter)
public function sender(mixed $response, ResponseInterface $emitter): void
{
$clientInfo = $emitter->getClientInfo();
$response->sendto($clientInfo['host'], $clientInfo['port'],