Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
38 | public function deserialize(string $eventClass, string $json): ShouldBeStored |
||
39 | { |
||
40 | $restoredEvent = $this->serializer->deserialize($json, $eventClass, 'json'); |
||
41 | |||
42 | /* |
||
43 | * We call manually serialize and unserialize to trigger |
||
44 | * `Illuminate\Queue\SerializesModels` model restoring capabilities. |
||
45 | */ |
||
46 | return unserialize(serialize($restoredEvent)); |
||
47 | } |
||
48 | } |
||
49 |
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.