diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2021-01-06 20:16:33 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-01-08 22:45:10 +0100 |
commit | 7180e11bdb3f27a1a282a137ca95279b39944b5b (patch) | |
tree | 17fd8152b8fabcb760395b45b5e47e66022304a9 /lib/Config | |
parent | cc582c5dc8f5c5ec7052f4e2cab8530b9307afaa (diff) |
fixes done by psalm
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'lib/Config')
-rw-r--r-- | lib/Config/LegacyConfig.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Config/LegacyConfig.php b/lib/Config/LegacyConfig.php index 02181370c..f5cd36ffb 100644 --- a/lib/Config/LegacyConfig.php +++ b/lib/Config/LegacyConfig.php @@ -54,7 +54,12 @@ class LegacyConfig $this->updateInterval = 3600; } - public function read($configPath, $createIfNotExists = false) + /** + * @param false $createIfNotExists + * + * @return void + */ + public function read($configPath, bool $createIfNotExists = false) { if ($this->fileSystem === null) { return; |