fixed more indentations
This commit is contained in:
parent
acf8990de1
commit
f031591753
9 changed files with 148 additions and 148 deletions
|
@ -19,29 +19,29 @@ class AdminSettingsController extends Controller {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return JSONResponse
|
||||
*/
|
||||
public function index(): JSONResponse {
|
||||
return new JSONResponse($this->settingsService->getAppValues());
|
||||
}
|
||||
/**
|
||||
* @return JSONResponse
|
||||
*/
|
||||
public function index(): JSONResponse {
|
||||
return new JSONResponse($this->settingsService->getAppValues());
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $key
|
||||
*
|
||||
* @return JSONResponse
|
||||
*/
|
||||
public function show($key): JSONResponse {
|
||||
return new JSONResponse($this->settingsService->getAppValue($key));
|
||||
}
|
||||
/**
|
||||
* @param $key
|
||||
*
|
||||
* @return JSONResponse
|
||||
*/
|
||||
public function show($key): JSONResponse {
|
||||
return new JSONResponse($this->settingsService->getAppValue($key));
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $key
|
||||
* @param $value
|
||||
*
|
||||
* @return JSONResponse
|
||||
*/
|
||||
public function update($key, $value): JSONResponse {
|
||||
/**
|
||||
* @param $key
|
||||
* @param $value
|
||||
*
|
||||
* @return JSONResponse
|
||||
*/
|
||||
public function update($key, $value): JSONResponse {
|
||||
return new JSONResponse($this->settingsService->setAppValue($key, $value));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue