N°5655 - Switch backoffice controllers' methods to non-static and now extend an abstract controller

This commit is contained in:
Molkobain
2022-11-04 11:37:46 +01:00
parent 36ec455e6d
commit 73139e82cb
13 changed files with 75 additions and 44 deletions

View File

@@ -22,7 +22,7 @@ use utils;
* @since 3.0.0
* @package Combodo\iTop\Controller
*/
class PreferencesController
class PreferencesController extends AbstractController
{
/**
* @return string[]
@@ -31,7 +31,7 @@ class PreferencesController
* @throws \MySQLException
* @throws \Exception
*/
public static function SetUserPicture(): array
public function SetUserPicture(): array
{
$sImageFilename = utils::ReadPostedParam('image_filename', null, utils::ENUM_SANITIZATION_FILTER_RAW_DATA);