contao/core — comment on commit 2506499a9c8e03178de2257e22337beb85271105
File:  line 0
By ideadapt:

This looks like duplicated code 5 times. Wouldn't it make sense to extract a method that returns a glue?