The expression return microtime(true) could return the type string which is incompatible with the type-hinted return double. Consider adding an additional type-check to rule them out.
Loading history...
31
16
microtime(true);
32
}
33
34
/**
35
* @param float $start
36
* @param float $stop
37
*/
38
4
protected function assertStartAndStop($start, $stop): void
39
{
40
4
$this->assertStart($start);
41
3
$this->assertStop($stop);
42
2
}
43
44
/**
45
* @param float $start
46
*/
47
3
protected function assertStart(/** @scrutinizer ignore-unused */ float $start): void
48
{
49
// Intentionally left blank
50
3
}
51
52
/**
53
* @param float $stop
54
*/
55
2
protected function assertStop(/** @scrutinizer ignore-unused */ float $stop): void