Funds of a city shall be deposited and secured in the manner provided by section ten of the general municipal law.