| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function __construct($name, $ClassName) |
||
| 16 | { |
||
| 17 | DataObjectSorterRequirements::popup_link_requirements(); |
||
| 18 | $objects = $ClassName::get(); |
||
| 19 | $arrayList = new ArrayList(); |
||
| 20 | $dos->Children = $objects; |
||
|
|
|||
| 21 | $content = $this->customise($arrayList)->renderWith("DataObjectSorterField"); |
||
| 22 | parent::__construct($name, $content); |
||
| 23 | } |
||
| 24 | } |
||
| 25 |
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.