Test Setup Failed
Pull Request — master (#1)
by
unknown
03:57
created
Profiler/MongoDbProfilerStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
         );
112 112
 
113 113
         $result = $this->getMongo()->updateOne(array('_id' => $profile->getToken()), array(
114
-            '$set' => array_filter($record, function ($v) {
114
+            '$set' => array_filter($record, function($v) {
115 115
                 return !empty($v);
116 116
             }),
117 117
         ), array('upsert' => true));
Please login to merge, or discard this patch.
Profiler/BaseMemcacheProfilerStorage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
             --$limit;
96 96
         }
97 97
 
98
-        usort($result, function ($a, $b) {
98
+        usort($result, function($a, $b) {
99 99
             if ($a['time'] === $b['time']) {
100 100
                 return 0;
101 101
             }
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
         $data = array(
162 162
             'token' => $profile->getToken(),
163 163
             'parent' => $profile->getParentToken(),
164
-            'children' => array_map(function ($p) {
164
+            'children' => array_map(function($p) {
165 165
                 return $p->getToken();
166 166
             }, $profile->getChildren()),
167 167
             'data' => $profile->getCollectors(),
Please login to merge, or discard this patch.
Profiler/RedisProfilerStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
         $data = array(
168 168
             'token' => $profile->getToken(),
169 169
             'parent' => $profile->getParentToken(),
170
-            'children' => array_map(function ($p) {
170
+            'children' => array_map(function($p) {
171 171
                 return $p->getToken();
172 172
             }, $profile->getChildren()),
173 173
             'data' => $profile->getCollectors(),
Please login to merge, or discard this patch.