[REF] Add strict types to Utils_Mail::Send
authoreileen <emcnaughton@wikimedia.org>
Tue, 27 Apr 2021 21:25:17 +0000 (09:25 +1200)
committereileen <emcnaughton@wikimedia.org>
Tue, 27 Apr 2021 21:25:17 +0000 (09:25 +1200)
commit83b2b36ba5625fca30c7bcd1f3d52f7492bbdce3
tree3e3b31fd5459e6c426d31ee7eaf42050841c7c5d
parent1ff704dff1bc05b596a1fecccdb4fb4542ef609f
[REF] Add strict types to Utils_Mail::Send

The function only returns a bool - this makes that explicit / forced and also removes handling for it
to return a PEAR_Error in one place that calls it. A couple of unused params are removed
CRM/Core/BAO/ActionSchedule.php
CRM/Utils/Mail.php