Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2023-01-07 19:48:16 +00:00
parent 774eed8b0e
commit 5055b443fc
235 changed files with 14833 additions and 14446 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);