Fix setting allowed subtypes for variable in PHP 5.3