-
Nicolas Despres authored
Make it a static method instead of an array. It is safer for the type checking and if we add a new target type we will be warned to add a case to the switch.
3db2973b
A GitLab update will be applied on May 9th, between 8am and 10am, EDT (UTC-04:00). This site may have intermittent delays during that time.
Make it a static method instead of an array. It is safer for the type checking and if we add a new target type we will be warned to add a case to the switch.