Fix php code closing