Skip to content

Commit

Permalink
Merge pull request #76 from petersistrom/fix-boolean-warning
Browse files Browse the repository at this point in the history
Fix boolean PHP warning in unit tests
  • Loading branch information
devang1281 authored Nov 5, 2024
2 parents 7f8179b + ece6f71 commit 17686e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/privacy/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,9 @@ private static function get_from_user() : array {
* @param array $reply An array containing Reply to addresses
* @param array $from An array containing from addresses
* @param string $txt The main body of the mail in plain text
* @return boolean true if mail is sent otherwise false
* @return bool true if mail is sent otherwise false
*/
private static function send_mail(array $to, array $reply, array $from, string $txt) : boolean {
private static function send_mail(array $to, array $reply, array $from, string $txt) : bool {
$sitename = get_site();
$token = get_config('local_proview', 'token');
$account = get_config('local_proview', 'proview_acc_name');
Expand Down

0 comments on commit 17686e0

Please sign in to comment.