Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
28 | public function expectAnswer(string $data): ReadableContentInterface |
||
29 | { |
||
30 | $this->logger->info('String of incoming data confirmed, returning new object', ['class' => \get_class($this)]); |
||
31 | $pingResp = new PingResp($this->logger); |
||
32 | $pingResp->populate($data); |
||
33 | return $pingResp; |
||
34 | } |
||
41 |