@@ -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 | |
@@ -46,30 +46,30 @@ |
||
| 46 | 46 | $expectations = [ |
| 47 | 47 | // @codingStandardsIgnoreStart |
| 48 | 48 | // page, count, result |
| 49 | - [-1, 0, 0], |
|
| 50 | - [-1, $partial, 0], |
|
| 51 | - [-1, $one, 0], |
|
| 52 | - [-1, $oneplus, 0], |
|
| 53 | - [-1, $two, 0], |
|
| 49 | + [-1, 0, 0], |
|
| 50 | + [-1, $partial, 0], |
|
| 51 | + [-1, $one, 0], |
|
| 52 | + [-1, $oneplus, 0], |
|
| 53 | + [-1, $two, 0], |
|
| 54 | 54 | |
| 55 | - [ 0, 0, 0], |
|
| 56 | - [ 0, $partial, 0], |
|
| 57 | - [ 0, $one, 0], |
|
| 58 | - [ 0, $oneplus, 0], |
|
| 59 | - [ 0, $two, 0], |
|
| 55 | + [0, 0, 0], |
|
| 56 | + [0, $partial, 0], |
|
| 57 | + [0, $one, 0], |
|
| 58 | + [0, $oneplus, 0], |
|
| 59 | + [0, $two, 0], |
|
| 60 | 60 | |
| 61 | - [ 1, 0, 0], |
|
| 62 | - [ 1, $partial, 0], |
|
| 63 | - [ 1, $one, 0], |
|
| 64 | - [ 1, $oneplus, 1], |
|
| 65 | - [ 1, $two, 1], |
|
| 61 | + [1, 0, 0], |
|
| 62 | + [1, $partial, 0], |
|
| 63 | + [1, $one, 0], |
|
| 64 | + [1, $oneplus, 1], |
|
| 65 | + [1, $two, 1], |
|
| 66 | 66 | |
| 67 | - [ 2, 0, 0], |
|
| 68 | - [ 2, $partial, 0], |
|
| 69 | - [ 2, $one, 0], |
|
| 70 | - [ 2, $oneplus, 1], |
|
| 71 | - [ 2, $two, 1], |
|
| 72 | - [ 2, $twoplus, 2], |
|
| 67 | + [2, 0, 0], |
|
| 68 | + [2, $partial, 0], |
|
| 69 | + [2, $one, 0], |
|
| 70 | + [2, $oneplus, 1], |
|
| 71 | + [2, $two, 1], |
|
| 72 | + [2, $twoplus, 2], |
|
| 73 | 73 | // @codingStandardsIgnoreEnd |
| 74 | 74 | ]; |
| 75 | 75 | return $expectations; |