Skip to content

Commit 65fda1f

Browse files
committed
skip document not found listener method
1 parent cdad4f5 commit 65fda1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Rules/Symfony/NoListenerWithoutContractRule.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ final class NoListenerWithoutContractRule implements Rule
4646
'onFlush',
4747
'postFlush',
4848
'onClear',
49+
// ODM
50+
'documentNotFound',
4951
];
5052

5153
public function getNodeType(): string

0 commit comments

Comments
 (0)