| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 44 | public function getSolution(): ?string |
||
| 45 | { |
||
| 46 | return sprintf( |
||
| 47 | "We have successfully unserialized a message, but there was no expected key \"%s\". |
||
| 48 | There are the following keys in the message: %s. |
||
| 49 | You might want to change message's structure, or make your own implementation of %s, |
||
| 50 | which won't rely on this key in the message.", |
||
| 51 | $this->expectedKey, |
||
| 52 | implode('", "', array_keys($this->payload)), |
||
| 53 | MessageSerializerInterface::class |
||
| 54 | ); |
||
| 57 |