@@ -1,6 +1,6 @@ |
||
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 |
@@ -5,7 +5,7 @@ |
||
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(). |
@@ -1,5 +1,5 @@ discard block |
||
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 |
||
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 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Drupal\mongodb\Queue; |
5 | 5 |