Completed
Push — master ( d71bb8...1594d5 )
by Alessandro
9s
created
src/DataCollector/MongoDbDataCollector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Fixtures/MongoFixturesLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
         return array_reduce(
68 68
             $declared,
69
-            function ($classList, string $className) use ($includedFiles) {
69
+            function($classList, string $className) use ($includedFiles) {
70 70
                 $reflClass = new \ReflectionClass($className);
71 71
                 $sourceFile = $reflClass->getFileName();
72 72
 
Please login to merge, or discard this patch.
src/Command/LoadFixturesCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             );
59 59
         }
60 60
 
61
-        foreach ($fixtures as $fixture){
61
+        foreach ($fixtures as $fixture) {
62 62
             $this->loadFixture($fixture);
63 63
         }
64 64
 
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     {
73 73
         $indexList->loadData();
74 74
         $indexList->loadIndexes();
75
-        $this->io->writeln('Loaded fixture: '. get_class($indexList));
75
+        $this->io->writeln('Loaded fixture: '.get_class($indexList));
76 76
     }
77 77
 
78 78
     /**
Please login to merge, or discard this patch.
src/Models/ClientConfiguration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
     {
102 102
         return array_filter(
103 103
             $options,
104
-            function ($value) {
104
+            function($value) {
105 105
                 return !empty($value) || is_int($value) || is_bool($value) || is_float($value);
106 106
             }
107 107
         );
Please login to merge, or discard this patch.
src/Models/Query.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
      */
91 91
     public function setFilters($filters)
92 92
     {
93
-        $this->filters = (array)$filters ?? [];
93
+        $this->filters = (array) $filters ?? [];
94 94
     }
95 95
 
96 96
     /**
Please login to merge, or discard this patch.
src/DataCollector/MongoQuerySerializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Services/ClientRegistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
         return implode(
88 88
             ',',
89 89
             array_map(
90
-                function (array $host) {
90
+                function(array $host) {
91 91
                     return sprintf("%s:%d", $host['host'], $host['port']);
92 92
                 },
93 93
                 $hosts
Please login to merge, or discard this patch.