mirror of
https://github.com/xPaw/PHP-Source-Query.git
synced 2026-06-11 02:23:14 +02:00
Move the response array logic into classes.
This commit is contained in:
@@ -30,7 +30,7 @@ final class TestableSocket extends AbstractSocket
|
||||
/**
|
||||
* TestableSocket constructor.
|
||||
*/
|
||||
public function __construct(int $type)
|
||||
public function __construct(int $type = SocketType::SOURCE)
|
||||
{
|
||||
$this->packetQueue = [];
|
||||
$this->type = $type;
|
||||
|
||||
Reference in New Issue
Block a user