Fix PHP 8.4 errors (#4200)

This commit is contained in:
BudsieBuds
2025-04-15 20:38:52 +02:00
committed by GitHub
parent 4d8403eb2b
commit 82f0e75bf0
10 changed files with 13 additions and 13 deletions

View File

@@ -32,7 +32,7 @@ class Secure_Controller extends BaseController
* @param string|null $submodule_id
* @param string|null $menu_group
*/
public function __construct(string $module_id = '', string $submodule_id = null, string $menu_group = null)
public function __construct(string $module_id = '', ?string $submodule_id = null, ?string $menu_group = null)
{
$this->employee = model(Employee::class);
$this->module = model(Module::class);