phpstan, php-cs-fixer review

This commit is contained in:
Jean-Christian Denis 2022-12-20 21:25:13 +01:00
parent 64a976ac19
commit f59402ee58
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
6 changed files with 15 additions and 14 deletions

View file

@ -76,7 +76,7 @@ function cinecturlink2AdminIcon(): string
return urldecode(dcPage::getPF('cinecturlink2/icon.svg'));
}
function cinecturlink2AdminPerm(): bool
function cinecturlink2AdminPerm(): string
{
return dcCore::app()->auth->makePermissions([dcAuth::PERMISSION_CONTENT_ADMIN]);
}

View file

@ -164,6 +164,7 @@ class cinecturlink2Widget
}
$C2 = new cinecturlink2();
$aprams = [];
if ($w->category) {
if ($w->category == 'null') {