1 | <?php |
||
10 | final class InsufficientData extends RuntimeException implements MessagePackException |
||
11 | { |
||
12 | /** @var mixed */ |
||
13 | private $value; |
||
14 | |||
15 | public static function fromOffset(string $data, int $offset, int $expectedLength): self |
||
24 | |||
25 | public function getValue() |
||
29 | |||
30 | private function __construct($value, string $message) |
||
36 | } |
||
37 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.