PHP parent class incorrectly using child constant in class property