mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply fixes from StyleCI (#13208)
This commit is contained in:
@@ -11,9 +11,9 @@ class SettingsController extends Controller
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*
|
||||
* @param DynamicConfig $dynamicConfig
|
||||
* @param string $tab
|
||||
* @param string $section
|
||||
* @param DynamicConfig $dynamicConfig
|
||||
* @param string $tab
|
||||
* @param string $section
|
||||
* @return \Illuminate\Http\Response|\Illuminate\View\View
|
||||
*/
|
||||
public function index(DynamicConfig $dynamicConfig, $tab = 'global', $section = '')
|
||||
@@ -32,9 +32,9 @@ class SettingsController extends Controller
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*
|
||||
* @param DynamicConfig $config
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param string $id
|
||||
* @param DynamicConfig $config
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param string $id
|
||||
* @return \Illuminate\Http\JsonResponse
|
||||
*/
|
||||
public function update(DynamicConfig $config, Request $request, $id)
|
||||
@@ -62,8 +62,8 @@ class SettingsController extends Controller
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*
|
||||
* @param DynamicConfig $config
|
||||
* @param string $id
|
||||
* @param DynamicConfig $config
|
||||
* @param string $id
|
||||
* @return \Illuminate\Http\JsonResponse
|
||||
*/
|
||||
public function destroy(DynamicConfig $config, $id)
|
||||
@@ -85,7 +85,7 @@ class SettingsController extends Controller
|
||||
/**
|
||||
* List all settings (excluding hidden ones and ones that don't have metadata)
|
||||
*
|
||||
* @param DynamicConfig $config
|
||||
* @param DynamicConfig $config
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function listAll(DynamicConfig $config)
|
||||
@@ -94,10 +94,10 @@ class SettingsController extends Controller
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $id
|
||||
* @param string $message
|
||||
* @param mixed $value
|
||||
* @param int $status
|
||||
* @param string $id
|
||||
* @param string $message
|
||||
* @param mixed $value
|
||||
* @param int $status
|
||||
* @return \Illuminate\Http\JsonResponse
|
||||
*/
|
||||
protected function jsonResponse($id, $message, $value = null, $status = 200)
|
||||
|
||||
Reference in New Issue
Block a user