File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1919use Psr \Log \LoggerInterface ;
2020use Swoole \Http \Response ;
2121use Swoole \Server ;
22- use Swow \Http \Server \Connection ;
22+ use Swow \Psr7 \Server \ServerConnection ;
2323
2424/**
2525 * @method push(int $fd, $data, int $opcode = null, $finish = null)
@@ -32,7 +32,7 @@ class Sender
3232 protected ?int $ workerId = null ;
3333
3434 /**
35- * @var Connection []|Response []
35+ * @var Response []|ServerConnection []
3636 */
3737 protected array $ responses = [];
3838
@@ -100,7 +100,7 @@ public function check($fd): bool
100100 * The responses of coroutine style swoole server.
101101 * Or connections of swow server.
102102 * And so on.
103- * @param null|Connection| Response $response
103+ * @param null|Response|ServerConnection $response
104104 */
105105 public function setResponse (int $ fd , mixed $ response ): void
106106 {
You can’t perform that action at this time.
0 commit comments