| 1 | <?php |
||
| 8 | final class NullConnection implements ConnectionInterface |
||
| 9 | { |
||
| 10 | /** @var string */ |
||
| 11 | private $receive = ''; |
||
| 12 | |||
| 13 | 1 | public function addListener(string $name, \Closure $callback): void |
|
| 16 | |||
| 17 | 1 | public function connect(): void |
|
| 20 | |||
| 21 | 1 | public function disconnect(): void |
|
| 24 | |||
| 25 | 11 | public function send(string $request): int |
|
| 31 | |||
| 32 | 11 | public function receive(): string |
|
| 36 | |||
| 37 | 1 | public function upgrade(int $type): void |
|
| 40 | |||
| 41 | 1 | public function timeout(float $timeout): void |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @param array<int, string> $keys |
||
| 47 | * @return array<string, mixed> |
||
|
|
|||
| 48 | */ |
||
| 49 | 1 | public function getMetaData(array $keys = []): array |
|
| 53 | |||
| 54 | 11 | private function pushResponseToBuffer(string $request): void |
|
| 81 | } |
||
| 82 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.