Skip to content

Commit fb1f852

Browse files
committed
phpcs
1 parent cdf0009 commit fb1f852

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

source/includes/read/change-streams/change-stream-options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require 'vendor/autoload.php';
2+
require 'vendor/autoload.php';
33

44
// start-to-json
55
function toJSON(object $document): string

source/includes/read/change-streams/change-stream-pipeline.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require 'vendor/autoload.php';
2+
require 'vendor/autoload.php';
33

44
// start-to-json
55
function toJSON(object $document): string
@@ -19,7 +19,7 @@ function toJSON(object $document): string
1919
// start-update-for-change-stream
2020
$result = $collection->updateOne(
2121
['name' => 'Blarney Castle'],
22-
['$set' => ['cuisine' => 'Irish']]
22+
['$set' => ['cuisine' => 'Irish']],
2323
);
2424
// end-update-for-change-stream
2525

source/includes/read/change-streams/change-stream.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require 'vendor/autoload.php';
2+
require 'vendor/autoload.php';
33

44
// start-to-json
55
function toJSON(object $document): string
@@ -40,6 +40,6 @@ function toJSON(object $document): string
4040
// start-update-for-change-stream
4141
$result = $collection->updateOne(
4242
['name' => 'Blarney Castle'],
43-
['$set' => ['cuisine' => 'Irish']]
43+
['$set' => ['cuisine' => 'Irish']],
4444
);
4545
// end-update-for-change-stream

source/includes/write/bulk-write.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
// start-bulk-client-options
155155
$bulkWrite = MongoDB\ClientBulkWrite::createWithCollection(
156156
$restaurantCollection,
157-
['ordered' => false]
157+
['ordered' => false],
158158
);
159159
// end-bulk-client-options
160160

0 commit comments

Comments
 (0)