@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Facile\MongoDbBundle\Controller; |
| 4 | 4 | |
| 5 | 5 | use Facile\MongoDbBundle\DataCollector\MongoQuerySerializer; |
| 6 | -use MongoDB\BSON\UTCDateTime; |
|
| 7 | 6 | use Symfony\Component\DependencyInjection\Container; |
| 8 | 7 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
| 9 | 8 | use Symfony\Component\DependencyInjection\ContainerInterface; |
@@ -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\Controller; |
| 4 | 4 | |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | foreach ($data as $key => $item) { |
| 73 | 73 | |
| 74 | 74 | if (\is_string($item) && 0 === strpos($item, 'ISODate')) { |
| 75 | - $time = str_replace(['ISODate("','")'], '', $item); |
|
| 75 | + $time = str_replace(['ISODate("', '")'], '', $item); |
|
| 76 | 76 | $dateTime = new \DateTime($time); |
| 77 | 77 | $item = new UTCDatetime($dateTime->getTimestamp() * 1000); |
| 78 | 78 | } |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types = 1); |
|
| 1 | +<?php declare(strict_types=1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Facile\MongoDbBundle; |
| 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\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\DataCollector; |
| 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\Command; |
| 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\Services\Explain; |
| 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\Services; |
| 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\Services\Loggers; |
| 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 | |