diff --git a/src/Contracts/ActivatorInterface.php b/src/Contracts/ActivatorInterface.php index a226fd19c..1caa84e2d 100644 --- a/src/Contracts/ActivatorInterface.php +++ b/src/Contracts/ActivatorInterface.php @@ -19,7 +19,7 @@ public function disable(Module $module): void; /** * Determine whether the given status same with a module status. */ - public function hasStatus(Module $module, bool $status): bool; + public function hasStatus(Module|string $module, bool $status): bool; /** * Set active state for a module.