MDL-81960 core: Coding style update for progress_trace
This commit is contained in:
@@ -22,14 +22,11 @@
|
||||
* @package core
|
||||
*/
|
||||
class html_progress_trace extends progress_trace {
|
||||
/**
|
||||
* Output the trace message.
|
||||
*
|
||||
* @param string $message
|
||||
* @param int $depth
|
||||
* @return void Output is echo'd
|
||||
*/
|
||||
public function output($message, $depth = 0) {
|
||||
#[\Override]
|
||||
public function output(
|
||||
string $message,
|
||||
int $depth = 0,
|
||||
): void {
|
||||
echo '<p>', str_repeat('  ', $depth), htmlspecialchars($message, ENT_COMPAT), "</p>\n";
|
||||
flush();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user