ANNAPOLIS, Md. (AP) — Maryland businesses with 15 or more employees will be required to provide up to five days of earned paid sick leave.

The Maryland Senate voted 30-17 to override Gov. Larry Hogan’s veto on Friday. That’s one vote more than the 29, or three-fifths vote, needed. The House voted to override the veto on Thursday.

READ MORE: Johns Hopkins' Bloomberg School Shortens Commencement In Response To Record Heat

An employee will be able to earn an hour of sick leave for every 30 hours they work.

Supporters say it will affect 700,000 Marylanders.

READ MORE: Maryland Weather: Heat Is Here, Alert Day Tomorrow For Record Heat

Hogan vetoed the measure last year, saying it is badly flawed and will hurt small businesses. He urged lawmakers to consider an alternative bill that would have phased in sick leave for businesses with 25 or more employees by 2020.

Follow @CBSBaltimore on Twitter and like WJZ-TV | CBS Baltimore on Facebook

MORE NEWS: Maryland Weather: Summer Heat Moves In For The Weekend

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)