If it shall appear to the court that a gate or gates may be hung as aforesaid, according to the prayer of the party, without much inconvenience to the person or persons using such road, they shall decree accordingly, and in such decree they shall order and direct that such gate or gates be made and kept in repair, and made easy for passing, by the respective owners of said land.
36 P.S. § 2734