src/mako/chrono/stopwatch/Stopwatch.php
public function stop(): float
	{
		$last = end($this->laps);

		$last->stop();

		return $last->getStopTime() - $this->laps[0]->getStartTime();
	}
public function stop(): float
	{
		$last = end($this->laps);

		$last->stop();

		return $last->getStopTime() - $this->laps[0]->getStartTime();
	}
public function stop ( ) : float { $ last = end ( $ this -> laps ) ; $ last -> stop ( ) ; return $ last -> getStopTime ( ) - $ this -> laps [ 0 ] -> getStartTime ( ) ; }
Stops the timer and returns the elapsed time.

@return float
Stops the timer and returns the elapsed time .