@@ -40,8 +40,7 @@ discard block |
||
40 | 40 | { |
41 | 41 | $sysArr[$cat->name][] = $sys->name; |
42 | 42 | } |
43 | - } |
|
44 | - else |
|
43 | + } else |
|
45 | 44 | { |
46 | 45 | $sysArr[$cat->name] = null; |
47 | 46 | } |
@@ -126,8 +125,7 @@ discard block |
||
126 | 125 | Log::info('Test Email Successfully Sent to '.Auth::user()->email); |
127 | 126 | Mail::to(Auth::user()->email)->send(new TestEmail()); |
128 | 127 | return 'success'; |
129 | - } |
|
130 | - catch(Exception $e) |
|
128 | + } catch(Exception $e) |
|
131 | 129 | { |
132 | 130 | Log::notice('Test Email Failed. Message: '.$e); |
133 | 131 | $msg = '['.$e->getCode().'] "'.$e->getMessage().'" on line '.$e->getTrace()[0]['line'].' of file '.$e->getTrace()[0]['file']; |
@@ -190,8 +188,7 @@ discard block |
||
190 | 188 | User::whereNotNull('password_expires')->update([ |
191 | 189 | 'password_expires' => null |
192 | 190 | ]); |
193 | - } |
|
194 | - else |
|
191 | + } else |
|
195 | 192 | { |
196 | 193 | $newExpire = Carbon::now()->addDays($request->passExpire); |
197 | 194 | User::whereNull('password_expires')->update([ |
@@ -262,8 +259,7 @@ discard block |
||
262 | 259 | 'name' => $field |
263 | 260 | ]); |
264 | 261 | $id = $newField->data_type_id; |
265 | - } |
|
266 | - else |
|
262 | + } else |
|
267 | 263 | { |
268 | 264 | $id = $id->data_type_id; |
269 | 265 | } |
@@ -352,8 +348,7 @@ discard block |
||
352 | 348 | 'name' => $field |
353 | 349 | ]); |
354 | 350 | $id = $newField->data_type_id; |
355 | - } |
|
356 | - else |
|
351 | + } else |
|
357 | 352 | { |
358 | 353 | $id = $id->data_type_id; |
359 | 354 | } |