Setup::doDeactivatePluginAction()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Leonidas\Plugin\Module;
4
5
use Leonidas\Contracts\Extension\ModuleInterface;
6
use Leonidas\Framework\Module\Abstracts\PluginSetupModule;
7
8
final class Setup extends PluginSetupModule implements ModuleInterface
9
{
10
    protected function doActivatePluginAction(bool $networkWide): void
0 ignored issues
show
Unused Code introduced by
The parameter $networkWide is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

10
    protected function doActivatePluginAction(/** @scrutinizer ignore-unused */ bool $networkWide): void

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
11
    {
12
        //
13
    }
14
15
    protected function doDeactivatePluginAction(bool $networkDeactivating): void
0 ignored issues
show
Unused Code introduced by
The parameter $networkDeactivating is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

15
    protected function doDeactivatePluginAction(/** @scrutinizer ignore-unused */ bool $networkDeactivating): void

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
16
    {
17
        //
18
    }
19
}
20