intelephense

1.14.41.16.1
lib/stub/mongodb/Monitoring/CommandSubscriber.php
lib/stub/mongodb/Monitoring/CommandSubscriber.php
+3−3
Index: package/lib/stub/mongodb/Monitoring/CommandSubscriber.php
===================================================================
--- package/lib/stub/mongodb/Monitoring/CommandSubscriber.php
+++ package/lib/stub/mongodb/Monitoring/CommandSubscriber.php
@@ -18,9 +18,9 @@
      * @return void
      * @throws \InvalidArgumentException on argument parsing errors.
      * @since 1.3.0
      */
-    public function commandFailed(CommandFailedEvent $event);
+    public function commandFailed(CommandFailedEvent $event): void;
 
     /**
      * Notification method for a started command.
      * If the subscriber has been registered with MongoDB\Driver\Monitoring\addSubscriber(), the driver will call this method when a command has started.
@@ -29,9 +29,9 @@
      * @return void
      * @throws \InvalidArgumentException on argument parsing errors.
      * @since 1.3.0
      */
-    public function commandStarted(CommandStartedEvent $event);
+    public function commandStarted(CommandStartedEvent $event): void;
 
     /**
      * Notification method for a successful command.
      * If the subscriber has been registered with MongoDB\Driver\Monitoring\addSubscriber(), the driver will call this method when a command has succeeded.
@@ -40,6 +40,6 @@
      * @return void
      * @throws \InvalidArgumentException on argument parsing errors.
      * @since 1.3.0
      */
-    public function commandSucceeded(CommandSucceededEvent $event);
+    public function commandSucceeded(CommandSucceededEvent $event): void;
 }