src/Tracy/QueryPanel/QueryPanel.php
public function getPanel(): string
	{
		ob_start();
		$parameters = $this->connection->getParams();
		$parameters['password'] = '****';
		$connected = $this->connection->isConnected();
		$queries = $this->queries;
		$queriesNum = count($this->queries);
		$totalTime = $this->totalTime;
		require __DIR__ . '/templates/panel.phtml';

		return (string) ob_get_clean();
	}
public function getPanel(): string
	{
		ob_start();
		$parameters = $this->connection->getParams();
		$parameters['password'] = '****';
		$connected = $this->connection->isConnected();
		$queries = $this->queries;
		$queriesNum = count($this->queries);
		$totalTime = $this->totalTime;
		require __DIR__ . '/templates/panel.phtml';

		return (string) ob_get_clean();
	}
public function getPanel ( ) : string { ob_start ( ) ; $ parameters = $ this -> connection -> getParams ( ) ; $ parameters [ 'password' ] = '****' ; $ connected = $ this -> connection -> isConnected ( ) ; $ queries = $ this -> queries ; $ queriesNum = count ( $ this -> queries ) ; $ totalTime = $ this -> totalTime ; require __DIR__ . '/templates/panel.phtml' ; return ( string ) ob_get_clean ( ) ; }
HTML for panel
HTML for panel