added return type

This commit is contained in:
Denis Duliçi 2021-11-19 11:33:44 +03:00
parent 5ae18e92fb
commit 0d9acd7967

View File

@ -316,7 +316,7 @@ trait Modules
return true;
}
public function moduleIsEnabled($alias)
public function moduleIsEnabled($alias): bool
{
if (! $this->moduleExists($alias)) {
return false;
@ -329,7 +329,7 @@ trait Modules
return true;
}
public function moduleIsDisabled($alias)
public function moduleIsDisabled($alias): bool
{
return ! $this->moduleIsEnabled($alias);
}