Oh I see, then you probably just change RadioButton to GUIComponent instead. PHP is an annoying language in a way that its type hinting is incomplete. RadioButton is a subclass of GUIComponent, this kind of type hinting is normally reasonable but in PHP it generates strict standard errors.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
|