According to PrestaShop's coding standard the use of curly braces with on line statements is not valid.