Mail: Add visibility for some methods without method visibility
authorDerick Alangi <alangiderick@gmail.com>
Wed, 26 Jun 2019 10:11:33 +0000 (11:11 +0100)
committerD3r1ck01 <xsavitar.wiki@aol.com>
Sun, 30 Jun 2019 15:32:20 +0000 (15:32 +0000)
commit02bbbdfa5388959c445bb678b9a3366cc79679c0
tree4e5d7949e45466a12fd7aed6618471c08f3b39c9
parent344481f60d92ac9295129c5089c0fe467ff497b9
Mail: Add visibility for some methods without method visibility

Carefully, I checked usage of these methods in our code bases and
added the best possible visibilities to them. Not sure if I missed
something but let me know if I did.

Used private & public where suitable for the various methods. As for
__toString(), this is a magic method, so should be public per PHP docs.

Change-Id: Ie0987f4a984cac2f5eb1d9e21a305ad9467a8eb2
includes/mail/EmailNotification.php
includes/mail/MailAddress.php
includes/mail/UserMailer.php