Skip to content

Commit 8cf4fc1

Browse files
committed
single quotes
1 parent 9dfc72a commit 8cf4fc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/includes/monitoring/sdam.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require __DIR__ . "/vendor/autoload.php";
3+
require __DIR__ . '/vendor/autoload.php';
44

55
// start-mysubscriber
66
class MySubscriber implements MongoDB\Driver\Monitoring\SDAMSubscriber
@@ -15,7 +15,7 @@ public function __construct($stream)
1515
public function serverOpening(MongoDB\Driver\Monitoring\ServerOpeningEvent $event): void {
1616
fprintf(
1717
$this->stream,
18-
"Server opening on %s:%s\n",
18+
'Server opening on %s:%s\n',
1919
$event->getHost(),
2020
$event->getPort(),
2121
);
@@ -42,7 +42,7 @@ public function topologyOpening(MongoDB\Driver\Monitoring\TopologyOpeningEvent $
4242
$client->addSubscriber($subscriber);
4343
// end-add-sub
4444

45-
$collection->insertOne(["x" => 100]);
45+
$collection->insertOne(['x' => 100]);
4646

4747
// start-remove-sub
4848
$client->removeSubscriber($subscriber);

0 commit comments

Comments
 (0)