Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
28 | 2 | public function submitSettings(GeneralSettingsRequest $request) |
|
29 | { |
||
30 | 2 | (new SettingsDomain)->submitNewSettings($request); |
|
31 | |||
32 | 2 | Log::notice('General Settings have been updated by '.Auth::user()->full_name.'. Data - ', $request->toArray()); |
|
33 | 2 | return response()->json(['success' => true]); |
|
34 | } |
||
44 |