Kaynağa Gözat

Fix extensions getUserConfiguration
fix https://github.com/FreshRSS/FreshRSS/issues/5970
Regression from https://github.com/FreshRSS/FreshRSS/pull/5957

Alexandre Alapetite 2 yıl önce
ebeveyn
işleme
ad990a21a1
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      lib/Minz/Extension.php

+ 2 - 2
lib/Minz/Extension.php

@@ -14,9 +14,9 @@ abstract class Minz_Extension {
 	/** @var 'system'|'user' */
 	private string $type;
 	/** @var array<string,mixed>|null */
-	private ?array $user_configuration;
+	private ?array $user_configuration = null;
 	/** @var array<string,mixed>|null */
-	private ?array $system_configuration;
+	private ?array $system_configuration = null;
 
 	/** @var array{0:'system',1:'user'} */
 	public static array $authorized_types = [