Added type hint to Stack::__construct()