phpstan, php-cs-fixer review
parent
64a976ac19
commit
f59402ee58
|
@ -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]);
|
||||
}
|
||||
|
|
|
@ -164,6 +164,7 @@ class cinecturlink2Widget
|
|||
}
|
||||
|
||||
$C2 = new cinecturlink2();
|
||||
$aprams = [];
|
||||
|
||||
if ($w->category) {
|
||||
if ($w->category == 'null') {
|
||||
|
|
Loading…
Reference in New Issue