The method for getting the declaring class name was not used when printing the class name, and was incorrect anyway. Use reflection when on the error path to ensure the correct class name is used. Change-Id: Ic9cd4319535d5ab877a0563e0433371e1025d985
23 lines
526 B
PHP
23 lines
526 B
PHP
<?php
|
|
|
|
class TestDeprecatedSubclass extends TestDeprecatedClass {
|
|
|
|
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;
|
|
}
|
|
|
|
}
|