Passed
Pull Request — 8.x-2.x (#69)
by Frédéric G.
05:37
created
modules/mongodb_watchdog/src/Install/SanityCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Drupal\mongodb_watchdog\Install;
6 6
 
Please login to merge, or discard this patch.
modules/mongodb/mongodb.module 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * Contains the main module connecting Drupal to MongoDB.
6 6
  */
7 7
 
8
-declare(strict_types = 1);
8
+declare(strict_types=1);
9 9
 
10 10
 /**
11 11
  * Implements hook_help().
Please login to merge, or discard this patch.
modules/mongodb/src/Queue/MongodbQueue.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Drupal\mongodb\Queue;
5 5
 
@@ -109,8 +109,8 @@  discard block
 block discarded – undo
109 109
     ];
110 110
     return $this->collection->findOneAndUpdate(
111 111
       [],
112
-      [ '$set' => $newobj ],
113
-      [ 'sort' => ['created' => 1],]
112
+      ['$set' => $newobj],
113
+      ['sort' => ['created' => 1], ]
114 114
     );
115 115
 
116 116
 
Please login to merge, or discard this patch.
modules/mongodb/src/Queue/QueueMongodbFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Drupal\mongodb\Queue;
5 5
 
Please login to merge, or discard this patch.