Fix PHP 8.4 errors (#4200)

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

No files matched your search

+1 -1
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);