Issue #2492835 by fago: Documented type for WidgetBaseInterface::flagErrors() parameter $violations is wrong