type hint

This commit is contained in:
Jean-Christian Paul Denis 2023-03-19 21:46:38 +01:00
parent a989f790fd
commit 99bd51e7b0
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ class BackendBehaviors
'</div>';
}
private static function modulesList($modules, $repos)
private static function modulesList(array $modules, array $repos): void
{
echo
'<div class="table-outer">' .

View File

@ -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;