Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | 2 | public function submitFieldName(EditFieldRequest $request) |
|
31 | { |
||
32 | 2 | (new SetEquipmentDataFields)->editExistingField($request->data_type_id, $request->name, $request->hidden); |
|
33 | 2 | Log::info('Data Field Type ID '.$request->data_type_id.' was updated by '.Auth::user()->full_name.'. Data - ', $request->toArray()); |
|
34 | 2 | return response()->json(['success' => true]); |
|
35 | } |
||
44 |