Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | abstract class AbstractRule implements RuleInterface, VisitorInterface |
||
10 | { |
||
11 | use ValidationContextAwareTrait; |
||
12 | |||
13 | /** |
||
14 | * @inheritdoc |
||
15 | */ |
||
16 | public function enterNode(NodeInterface $node): ?NodeInterface |
||
17 | { |
||
18 | return $node; |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @inheritdoc |
||
23 | */ |
||
24 | public function leaveNode(NodeInterface $node): ?NodeInterface |
||
27 | } |
||
28 | } |
||
29 |