Fix the settings controller parameters

The Settings controller parameters were did not have a type, and
prevented them from being automatically injected
This commit is contained in:
sysadminstory 2022-01-24 00:40:57 +01:00
parent 13d4946e19
commit 9f1250afa2

View File

@ -51,7 +51,7 @@ class SettingsController extends Controller {
*
* @return array|\OCP\AppFramework\Http\JSONResponse
*/
public function setPreference($EpubEnable, $PdfEnable, $CbxEnable) {
public function setPreference(string $EpubEnable, string $PdfEnable, string $CbxEnable) {
$l = \OC::$server->getL10N('epubreader');