| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | 1 | public function performSpecialActions(ClientInterface $client, WritableContentInterface $originalRequest): bool |
|
| 20 | { |
||
| 21 | 1 | $successFullyClosed = $client->shutdownConnection(); |
|
| 22 | 1 | $this->logger->info('Sent shutdown signal to socket', ['successFullyClosed' => $successFullyClosed]); |
|
| 23 | 1 | $client->setConnected(false); |
|
| 24 | 1 | return true; |
|
| 25 | } |
||
| 40 |