We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb1f8e0 commit c6e661fCopy full SHA for c6e661f
source/includes/monitoring/sdam.php
@@ -5,13 +5,9 @@
5
// start-mysubscriber
6
class MySubscriber implements MongoDB\Driver\Monitoring\SDAMSubscriber
7
{
8
- /** @var resource */
9
- private $stream;
10
-
11
/** @param resource $stream */
12
- public function __construct($stream)
+ public function __construct(private $stream)
13
14
- $this->stream = $stream;
15
}
16
17
public function serverOpening(MongoDB\Driver\Monitoring\ServerOpeningEvent $event): void
0 commit comments