@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Thruster\Component\PacketHandler; |
4 | 4 | |
5 | 5 | use Thruster\Component\PacketHandler\Exception\ProviderNotFoundException; |
6 | -use Thruster\Component\Stream\Stream; |
|
7 | 6 | |
8 | 7 | /** |
9 | 8 | * Class PacketHandler |
@@ -41,6 +41,9 @@ |
||
41 | 41 | $this->stream->on('data', [$this, 'onData']); |
42 | 42 | } |
43 | 43 | |
44 | + /** |
|
45 | + * @param PacketInterface $data |
|
46 | + */ |
|
44 | 47 | public function send($data) |
45 | 48 | { |
46 | 49 | $package = new Package(func_get_args()); |