Combine all the ingredients in a heavy-based saucepan. Boil for 5 minutes, stirring occasionally. Remove the star anises.
Pour the syrup into a thoroughly-cleaned bottle with a cap. Leave to cool uncapped. Store in the refrigerator.
The recipe was made by