Apply fixes from StyleCI (#13208)

This commit is contained in:
Jellyfrog
2021-09-08 23:35:56 +02:00
committed by GitHub
parent c6d2385c3a
commit 26b95c0ccc
370 changed files with 1667 additions and 1667 deletions

View File

@@ -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)