From 99bd51e7b0a52b3d21a225887e4263033620622c Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 19 Mar 2023 21:46:38 +0100 Subject: [PATCH] type hint --- src/BackendBehaviors.php | 2 +- src/CsvStoreParser.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BackendBehaviors.php b/src/BackendBehaviors.php index da1cb70..55161f2 100644 --- a/src/BackendBehaviors.php +++ b/src/BackendBehaviors.php @@ -82,7 +82,7 @@ class BackendBehaviors ''; } - private static function modulesList($modules, $repos) + private static function modulesList(array $modules, array $repos): void { echo '
' . diff --git a/src/CsvStoreParser.php b/src/CsvStoreParser.php index a45c0a8..b500451 100644 --- a/src/CsvStoreParser.php +++ b/src/CsvStoreParser.php @@ -19,7 +19,7 @@ use dcStoreParser; class CsvStoreParser extends dcStoreParser { # overwrite dcStoreParser to bypasse current dotclear version - protected function _parse() + protected function _parse(): void { if (empty($this->xml->module)) { return;