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
24 lines
543 B
PHP
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;
|
|
}
|
|
|
|
}
|