File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3
3
<!-- cleancode -->
4
4
<rule ref =" rulesets/cleancode.xml" >
5
5
<exclude name =" BooleanArgumentFlag" />
6
+ <exclude name =" StaticAccess" />
6
7
</rule >
7
8
<!-- codesize -->
8
9
<rule ref =" rulesets/codesize.xml/TooManyPublicMethods" >
Original file line number Diff line number Diff line change 11
11
12
12
use Framework \Database \Database ;
13
13
use Framework \Debug \Collector ;
14
+ use Framework \Debug \Debugger ;
14
15
15
16
/**
16
17
* Class DatabaseCollector.
@@ -65,7 +66,7 @@ public function getContents() : string
65
66
<thead>
66
67
<tr>
67
68
<th>#</th>
68
- <th title="Seconds ">Time</th>
69
+ <th title="Milliseconds ">Time</th>
69
70
<th>Statement</th>
70
71
<th title="Affected rows or Rows in set">Rows</th>
71
72
</tr>
@@ -74,7 +75,7 @@ public function getContents() : string
74
75
<?php foreach ($ this ->getData () as $ index => $ item ): ?>
75
76
<tr>
76
77
<td><?= $ index + 1 ?> </td>
77
- <td><?= \round ($ item ['end ' ] - $ item ['start ' ], 6 ) ?> </td>
78
+ <td><?= Debugger:: roundSecondsToMilliseconds ($ item ['end ' ] - $ item ['start ' ]) ?> </td>
78
79
<td>
79
80
<pre><code class="language-sql"><?=
80
81
\htmlentities ($ item ['statement ' ])
You can’t perform that action at this time.
0 commit comments