fix php 8.4 compatibility

This commit is contained in:
beu committed 2025-06-22 18:58:00 +02:00
1 parent 8d01340d22
commit 6928fe2ce2
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -31,7 +31,7 @@ class BeuCustomConfig implements CallbackListener, Plugin {
* Constants
*/
const PLUGIN_ID = 193;
const PLUGIN_VERSION = 1.2;
const PLUGIN_VERSION = 1.3;
const PLUGIN_NAME = 'BeuCustomConfig';
const PLUGIN_AUTHOR = 'Beu';
@@ -149,7 +149,7 @@ class BeuCustomConfig implements CallbackListener, Plugin {
]);
}
public function updateSettings(Setting $setting = null) {
public function updateSettings(?Setting $setting = null) {
if ($setting !== null && $setting->belongsToClass($this)) {
$this->changeManiacontrolSettings();
}