These two methods of internal linking do the exact same thing, so I don't see any reason why Google would weight these differently. I've not seen any evidence of a difference for SEO.
That said, the second method has the potential to exacerbate an already existing problem if you are not properly 301 redirecting http to https and non-www to www (or vice versa).
As your website evolves, for example, you may have old links pointing to the http:// when you're now using https:// or non-www if you're using www now. But as long as you're redirecting properly then those older internal links will still work.