@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Facile\MongoDbBundle\Services; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Facile\MongoDbBundle\Services; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Facile\MongoDbBundle\Services; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Facile\MongoDbBundle\Services; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Facile\MongoDbBundle\Services; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Facile\MongoDbBundle\Models; |
6 | 6 | |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | */ |
99 | 99 | private function cleanOptions(array $options): array |
100 | 100 | { |
101 | - return array_filter($options, function ($value) { |
|
101 | + return array_filter($options, function($value) { |
|
102 | 102 | return !empty($value) || is_int($value) || is_bool($value) || is_float($value); |
103 | 103 | }); |
104 | 104 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Facile\MongoDbBundle\Services; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Facile\MongoDbBundle\Services; |
6 | 6 |
@@ -76,7 +76,7 @@ |
||
76 | 76 | */ |
77 | 77 | public function getTime(): float |
78 | 78 | { |
79 | - return (float)($this->data[self::TIME_KEYWORD] * 1000); |
|
79 | + return (float) ($this->data[self::TIME_KEYWORD] * 1000); |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | /** |