wiki.techinc.nl/tests/phpunit/includes/debug/TestDeprecatedSubclass.php
Umherirrender 41f6d9eee4 tests: Add missing documentation to class properties
Add doc-typehints to class properties found by the PropertyDocumentation
sniff to improve the documentation.

Once the sniff is enabled it avoids that new code is missing type
declarations. This is focused on documentation and does not change code.

Change-Id: Ifc27750207edc09e94af030d882b6f1a5369cf98
2024-09-18 17:25:42 +00:00

24 lines
543 B
PHP

<?php
class TestDeprecatedSubclass extends TestDeprecatedClass {
/** @var int */
private $subclassPrivateNondeprecated = 1;
public function getDeprecatedPrivateParentProperty() {
return $this->privateDeprecated;
}
public function setDeprecatedPrivateParentProperty( $value ) {
$this->privateDeprecated = $value;
}
public function getNondeprecatedPrivateParentProperty() {
return $this->privateNonDeprecated;
}
public function setNondeprecatedPrivateParentProperty( $value ) {
$this->privateNonDeprecated = $value;
}
}