Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
66 | 1 | public function unserialize($data): void |
|
67 | { |
||
68 | 1 | $data = unserialize($data, ['allowed_classes' => [self::class, stdClass::class]]); |
|
69 | 1 | $this->fname = (string) $data['fname']; |
|
70 | 1 | $this->args = (array) $data['args']; |
|
71 | 1 | $this->time = (float) $data['time']; |
|
72 | 1 | $this->result = (array) $data['result']; |
|
73 | 1 | } |
|
74 | |||
105 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.