1 | <?php |
||
2 | |||
3 | namespace CaptainHook\App\Plugin; |
||
4 | |||
5 | use CaptainHook\App\Hook\Constrained; |
||
6 | use CaptainHook\App\Hook\Restriction; |
||
7 | |||
8 | class DummyConstrainedHookPlugin extends DummyHookPlugin implements Constrained |
||
9 | { |
||
10 | /** |
||
11 | * @var Restriction|null |
||
12 | */ |
||
13 | public static $restriction; |
||
14 | |||
15 | public static function getRestriction(): Restriction |
||
16 | { |
||
17 | return self::$restriction; |
||
0 ignored issues
–
show
Bug
Best Practice
introduced
by
![]() |
|||
18 | } |
||
19 | } |
||
20 |