mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
fix style coding
This commit is contained in:
parent
bb6f755ef2
commit
07f57e0145
13 changed files with 52 additions and 161 deletions
|
@ -43,6 +43,7 @@ namespace controllers\internals;
|
|||
{
|
||||
$phone_number_util = \libphonenumber\PhoneNumberUtil::getInstance();
|
||||
$phone_number_o = $phone_number_util->parse($number, null);
|
||||
|
||||
return $phone_number_util->format($phone_number_o, \libphonenumber\PhoneNumberFormat::INTERNATIONAL);
|
||||
}
|
||||
|
||||
|
@ -177,8 +178,6 @@ namespace controllers\internals;
|
|||
$controller->render($settings['template'], $datas);
|
||||
$content = ob_get_clean();
|
||||
|
||||
$success = mail($to, $settings['subject'], $content);
|
||||
|
||||
return $success;
|
||||
return mail($to, $settings['subject'], $content);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue