Skip to content

Commit 5189798

Browse files
committed
Rename variable for readability
1 parent 058c5ca commit 5189798

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/SpeedTrap.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ public function executeAfterSuccessfulTest(string $test, float $time): void
7272
{
7373
if (!$this->enabled) return;
7474

75-
$timeInMilliseconds = $this->toMilliseconds($time);
75+
$timeMS = $this->toMilliseconds($time);
7676
$threshold = $this->getSlowThreshold($test);
7777

78-
if ($this->isSlow($timeInMilliseconds, $threshold)) {
79-
$this->addSlowTest($test, $timeInMilliseconds);
78+
if ($this->isSlow($timeMS, $threshold)) {
79+
$this->addSlowTest($test, $timeMS);
8080
}
8181
}
8282

0 commit comments

Comments
 (0)