1212use ProcessMaker \Models \ProcessCategory ;
1313use ProcessMaker \Models \ProcessLaunchpad ;
1414use ProcessMaker \Models \ProcessRequest ;
15+ use ProcessMaker \Models \Screen ;
1516use ProcessMaker \Models \ScreenCategory ;
1617use ProcessMaker \Models \ScreenType ;
1718use ProcessMaker \Models \ScriptCategory ;
2021use ProcessMaker \Package \Cdata \Http \Controllers \Api \CdataController ;
2122use ProcessMaker \Package \PackagePmBlocks \Http \Controllers \Api \PmBlockController ;
2223use ProcessMaker \PackageHelper ;
23- use ProcessMaker \Models \Screen ;
2424use ProcessMaker \Traits \HasControllerAddons ;
2525use ProcessMaker \Traits \ProcessMapTrait ;
2626
@@ -156,7 +156,7 @@ public function prepareModelerData(
156156
157157 /**
158158 * Get the default email notification configuration for tasks
159- *
159+ *
160160 * Returns an array containing the default email notification settings including:
161161 * - subject: The default email subject template
162162 * - type: The notification type (screen)
@@ -166,16 +166,17 @@ public function prepareModelerData(
166166 */
167167 private function getDefaultEmailNotification (): array
168168 {
169- $ screen = Screen::getScreenByKey ('default-email-task-notification ' );
170- return [
171- 'subject ' => "RE: {{_user.fullName}} assigned you in {{taskName}} " ,
172- 'type ' => "screen " ,
169+ $ screen = Screen::getScreenByKey ('default-email-task-notification ' );
170+
171+ return [
172+ 'subject ' => 'RE: {{_user.firstname}} assigned you in {{_task_name}} ' ,
173+ 'type ' => 'screen ' ,
173174 'screenRef ' => $ screen ->id ,
174175 'toRecipients ' => [
175176 [
176- 'type ' => " assignedUser " ,
177- 'value ' => null
178- ]
177+ 'type ' => ' assignedUser ' ,
178+ 'value ' => null ,
179+ ],
179180 ],
180181 ];
181182 }
0 commit comments