Skip to content

Conversation

@alissn
Copy link
Contributor

@alissn alissn commented Oct 18, 2025

Hi,

In the class \Nwidart\Modules\Activators\FileActivator, the hasStatus method is implemented as follows:

    public function hasStatus(Module|string $module, bool $status): bool
    {
        $name = $module instanceof Module ? $module->getName() : $module;
        // other code ...
    }

This pull request updates the ActivatorInterface to match the method signature used in FileActivator.

comment link
fixed: #2123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError because of hasStatus call not conforming to ActivatorInterface

1 participant