Skip to content

Commit 828ab92

Browse files
committed
Use class instead of style
1 parent 7b4c7d7 commit 828ab92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Debug/AutoloadCollector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function getContents() : string
8787
?>
8888
<p>Total of <?= \count($declarations) ?> declarations.
8989
<?php if ($classes): ?>
90-
<span style="color: green"><?= \count($classes) ?> are preloaded.</span>
90+
<span class="text-success"><?= \count($classes) ?> are preloaded.</span>
9191
<?php endif ?>
9292
</p>
9393
<table>
@@ -112,7 +112,7 @@ public function getContents() : string
112112
<td><?= $index + 1 ?></td>
113113
<td><?= $this->getDeclarationType($declaration) ?></td>
114114
<td<?= \in_array($declaration, $classes)
115-
? ' style="color: green" title="' . (\MessageFormatter::formatMessage(
115+
? ' class="text-success" title="' . (\MessageFormatter::formatMessage(
116116
'en',
117117
'{number, ordinal}',
118118
['number' => ++$count]

0 commit comments

Comments
 (0)