When any deposit is made in any bank by a minor, the bank may pay to the depositor the sums due him or her and the receipt or check of the minor shall be, in all respects, valid in law.