File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 77use MongoDB \Driver \Monitoring \CommandStartedEvent ;
88use MongoDB \Driver \Monitoring \CommandSubscriber as CommandSubscriberInterface ;
99use MongoDB \Driver \Monitoring \CommandSucceededEvent ;
10+ use Override ;
1011
1112use function get_object_vars ;
1213use function in_array ;
@@ -21,16 +22,19 @@ public function __construct(private Connection $connection)
2122 {
2223 }
2324
25+ #[Override]
2426 public function commandStarted (CommandStartedEvent $ event ): void
2527 {
2628 $ this ->commands [$ event ->getOperationId ()] = $ event ;
2729 }
2830
31+ #[Override]
2932 public function commandFailed (CommandFailedEvent $ event ): void
3033 {
3134 $ this ->logQuery ($ event );
3235 }
3336
37+ #[Override]
3438 public function commandSucceeded (CommandSucceededEvent $ event ): void
3539 {
3640 $ this ->logQuery ($ event );
You can’t perform that action at this time.
0 commit comments