| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 43 | public function performSpecialActions(ClientInterface $client, WritableContentInterface $originalRequest): bool |
||
| 44 | { |
||
| 45 | /** @var Subscribe $originalRequest */ |
||
| 46 | if ($this->packetIdentifier !== $originalRequest->getPacketIdentifier()) { |
||
| 47 | throw new \LogicException('Packet identifiers do not match!'); |
||
| 48 | } |
||
| 49 | |||
| 50 | $client |
||
| 51 | ->updateLastCommunication() |
||
| 52 | ->setBlocking(false) |
||
| 53 | ; |
||
| 54 | return true; |
||
| 55 | } |
||
| 57 |