Update Helper.php

fix ```getTemplatesForBase```