We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d1f278 commit 44e38e2Copy full SHA for 44e38e2
tests/Time/StopWatch.php
@@ -19,6 +19,8 @@ public function start():void
19
public function stop():float
20
{
21
$endTime = intval(round(microtime(true)*1000));
22
- return $endTime - $this->startTime;
+ $timeSpent = $endTime - $this->startTime;
23
+ throw new \Exception("This method should be mocked!");
24
+ return $timeSpent;
25
}
26
0 commit comments