In the solemnization of marriage no particular form shall be required, except that the parties shall solemnly declare in the presence of the magistrate or minister and the attending witnesses, that they take each other as husband and wife; and in any case there shall be at least two witnesses, besides the minister or magistrate present at the ceremony.