@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Facile\MongoDbBundle\Models; |
4 | 4 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Facile\MongoDbBundle\Models; |
4 | 4 | |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | */ |
98 | 98 | private function cleanOptions(array $options): array |
99 | 99 | { |
100 | - return array_filter($options, function ($value) { |
|
100 | + return array_filter($options, function($value) { |
|
101 | 101 | return !empty($value) || is_int($value) || is_bool($value) || is_float($value); |
102 | 102 | }); |
103 | 103 | } |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Facile\MongoDbBundle\DataCollector; |
4 | 4 | |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | } |
55 | 55 | |
56 | 56 | if (is_array($item) || is_object($item)) { |
57 | - return self::prepareUnserializableData((array)$item); |
|
57 | + return self::prepareUnserializableData((array) $item); |
|
58 | 58 | } |
59 | 59 | |
60 | 60 | return $item; |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Facile\MongoDbBundle\DataCollector; |
4 | 4 | |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | */ |
81 | 81 | public function getTime(): float |
82 | 82 | { |
83 | - return (float)($this->data[self::TIME_KEYWORD] * 1000); |
|
83 | + return (float) ($this->data[self::TIME_KEYWORD] * 1000); |
|
84 | 84 | } |
85 | 85 | |
86 | 86 | /** |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Facile\MongoDbBundle\DependencyInjection; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Facile\MongoDbBundle\Capsule; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Facile\MongoDbBundle\Capsule; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Facile\MongoDbBundle\Capsule; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Facile\MongoDbBundle\Fixtures; |
4 | 4 |