1180 , brought this action to obtain a judicial declaration that said act is unconstitutional , and to enjoin the secretary of finance and all other persons acting under him , particularly city and municipal treasurers , from enforcing its provisions .