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