Total Complexity | 4 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | final class RpcSuccess implements JsonSerializable, ActionableMessageInterface |
||
12 | { |
||
13 | protected string $uniqid; |
||
14 | |||
15 | protected Payload $payload; |
||
16 | |||
17 | public function __construct(string $uniqid, Payload $payload) |
||
21 | 4 | } |
|
22 | |||
23 | 4 | public function getPayload(): Payload |
|
24 | 4 | { |
|
25 | 4 | return $this->payload; |
|
26 | } |
||
27 | |||
28 | /** |
||
29 | * @return array<string,string|mixed> |
||
30 | 2 | */ |
|
31 | public function jsonSerialize(): array |
||
37 | ]; |
||
38 | 2 | } |
|
39 | |||
40 | public function handle(MessengerInterface $bindTo, string $source): void |
||
53 | 2 | } |
|
54 | } |
||
55 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.