aboutsummaryrefslogtreecommitdiff
path: root/app/Models/SystemConfiguration.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/SystemConfiguration.php')
-rw-r--r--app/Models/SystemConfiguration.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Models/SystemConfiguration.php b/app/Models/SystemConfiguration.php
index 6cb3569f1..bf5bed0d7 100644
--- a/app/Models/SystemConfiguration.php
+++ b/app/Models/SystemConfiguration.php
@@ -1,5 +1,7 @@
<?php
+declare(strict_types=1);
+
/**
* @property bool $allow_anonymous
* @property bool $allow_anonymous_refresh
@@ -27,6 +29,7 @@
*/
final class FreshRSS_SystemConfiguration extends Minz_Configuration {
+ /** @throws Minz_ConfigurationNamespaceException */
public static function init(string $config_filename, ?string $default_filename = null): FreshRSS_SystemConfiguration {
parent::register('system', $config_filename, $default_filename);
return parent::get('system');