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:
parent
13d4946e19
commit
9f1250afa2
@ -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');
|
||||
|
||||
|
Reference in New Issue
Block a user