``object`` is not a valid typehint in PHP