Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2023-01-06 13:07:26 +00:00
parent 88642f7ecd
commit 168656e3aa
235 changed files with 14818 additions and 14426 deletions

View File

@@ -71,6 +71,7 @@ class NotificationController extends Controller
* Admin Notification/Report.
*
* @param company
*
* @return mail
* */
public function send_notification_to_admin($company)
@@ -85,13 +86,13 @@ class NotificationController extends Controller
$contents = $view->render();
$from = $this->PhpMailController->mailfrom('1', '0');
$to = [
'name' => $user_name,
'name' => $user_name,
'email' => $email,
];
$message = [
'subject' => 'Daily Report',
'subject' => 'Daily Report',
'scenario' => null,
'body' => $contents,
'body' => $contents,
];
return $this->PhpMailController->sendEmail($from, $to, $message);
@@ -119,13 +120,13 @@ class NotificationController extends Controller
$contents = $view->render();
$from = $this->PhpMailController->mailfrom('1', '0');
$to = [
'name' => $user_name,
'name' => $user_name,
'email' => $email,
];
$message = [
'subject' => 'Daily Report',
'subject' => 'Daily Report',
'scenario' => null,
'body' => $contents,
'body' => $contents,
];
return $this->PhpMailController->sendEmail($from, $to, $message);
@@ -155,13 +156,13 @@ class NotificationController extends Controller
$contents = $view->render();
$from = $this->PhpMailController->mailfrom('1', '0');
$to = [
'name' => $user_name,
'name' => $user_name,
'email' => $email,
];
$message = [
'subject' => 'Daily Report',
'subject' => 'Daily Report',
'scenario' => null,
'body' => $contents,
'body' => $contents,
];
return $this->PhpMailController->sendEmail($from, $to, $message);
@@ -187,13 +188,13 @@ class NotificationController extends Controller
$contents = $view->render();
$from = $this->PhpMailController->mailfrom('1', '0');
$to = [
'name' => $user_name,
'name' => $user_name,
'email' => $email,
];
$message = [
'subject' => 'Daily Report',
'subject' => 'Daily Report',
'scenario' => null,
'body' => $contents,
'body' => $contents,
];
return $this->PhpMailController->sendEmail($from, $to, $message);