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