1 | <?php |
||
13 | final class RowData |
||
14 | { |
||
15 | private $object; |
||
16 | private $form; |
||
17 | |||
18 | private function __construct() |
||
21 | |||
22 | public static function fromObject($object): RowData |
||
36 | |||
37 | public static function fromForm(FormView $form): RowData |
||
45 | |||
46 | public function getForm(): FormView |
||
56 | |||
57 | public function getObject() |
||
61 | |||
62 | private function getFormObject() |
||
73 | } |
||
74 |
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.