Skip to content

Commit ce9227e

Browse files
authored
Fix typo in topologyClosedEvent test comment (#1456)
1 parent 2ab1e4b commit ce9227e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/apm/topologyClosedEvent-001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class MySubscriber implements MongoDB\Driver\Monitoring\SDAMSubscriber
3333
public function topologyOpening(MongoDB\Driver\Monitoring\TopologyOpeningEvent $event): void {}
3434
}
3535

36-
/* Note: TopologyChangedEvent can only be observed for non-persistent clients.
36+
/* Note: TopologyClosedEvent can only be observed for non-persistent clients.
3737
* Persistent clients are destroyed in GSHUTDOWN, long after any PHP objects
3838
* (including subscribers) are freed. */
3939
$m = create_test_manager(URI, [], ['disableClientPersistence' => true]);

0 commit comments

Comments
 (0)