Skip to content

Commit 8649a7e

Browse files
committed
Apply fixed Coderabbitai review.
1 parent 13cf2a9 commit 8649a7e

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎resources/views/snapshot.php‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@
5555
$summary = Header::tag()
5656
->class('yii-debug-grid-summary')
5757
->html(
58-
Span::tag()->html(Strong::tag()->content($method), 'Method'),
58+
Span::tag()->html(Strong::tag()->content($method), ' Method'),
5959
Span::tag()->class('yii-debug-grid-summary-sep')->content('·'),
60-
Span::tag()->html(Strong::tag()->content((string) $statusCode), 'Status'),
60+
Span::tag()->html(Strong::tag()->content((string) $statusCode), ' Status'),
6161
Span::tag()->class('yii-debug-grid-summary-sep')->content('·'),
62-
Span::tag()->html(Strong::tag()->content($duration), 'Duration'),
62+
Span::tag()->html(Strong::tag()->content($duration), ' Duration'),
6363
Span::tag()->class('yii-debug-grid-summary-sep')->content('·'),
64-
Span::tag()->html(Strong::tag()->content($memory), 'Peak memory'),
64+
Span::tag()->html(Strong::tag()->content($memory), ' Peak memory'),
6565
Span::tag()->class('yii-debug-grid-summary-sep')->content('·'),
66-
Span::tag()->html(Strong::tag()->content($clientIp), 'Client IP'),
66+
Span::tag()->html(Strong::tag()->content($clientIp), ' Client IP'),
6767
);
6868
$failureCallout = $failure === null
6969
? ''

‎tests/Toolbar/ToolbarDataTest.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
use PHPUnit\Framework\Attributes\Group;
99
use PHPUnit\Framework\TestCase;
1010

11+
use function current;
12+
1113
/**
1214
* Unit tests for {@see ToolbarData} serializing portable toolbar panels and metrics.
1315
*

‎vite.config.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default defineConfig({
1313
cssCodeSplit: true,
1414
target: "es2022",
1515
minify: "oxc",
16-
rollupOptions: {
16+
rolldownOptions: {
1717
input: {
1818
debug: resolve(here, "resources/src/core/debug.js"),
1919
toolbar: resolve(here, "resources/src/toolbar/index.js"),

0 commit comments

Comments
 (0)