| Total Complexity | 4 | 
| Total Lines | 45 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 13 | final class RpcError implements JsonSerializable, ActionableMessageInterface  | 
            ||
| 14 | { | 
            ||
| 15 | protected string $uniqid;  | 
            ||
| 16 | |||
| 17 | protected Throwable $payload;  | 
            ||
| 18 | |||
| 19 | public function __construct(string $uniqid, Throwable $payload)  | 
            ||
| 20 |     { | 
            ||
| 21 | $this->uniqid = $uniqid;  | 
            ||
| 22 | $this->payload = $payload;  | 
            ||
| 23 | }  | 
            ||
| 24 | 4 | ||
| 25 | /**  | 
            ||
| 26 | 4 | * @return Exception|Throwable  | 
            |
| 27 | 4 | */  | 
            |
| 28 | 4 | public function getPayload()  | 
            |
| 29 |     { | 
            ||
| 30 | return $this->payload;  | 
            ||
| 31 | }  | 
            ||
| 32 | |||
| 33 | 2 | /**  | 
            |
| 34 | * @return array<string,string|mixed>  | 
            ||
| 35 | 2 | */  | 
            |
| 36 | public function jsonSerialize(): array  | 
            ||
| 42 | ];  | 
            ||
| 43 | }  | 
            ||
| 44 | 2 | ||
| 45 | 2 | public function handle(MessengerInterface $bindTo, string $source): void  | 
            |
| 60 | 
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.