From 16baecee55af13b8b73d572ee2a147b309b66afb Mon Sep 17 00:00:00 2001 From: Florin-Ciprian Bodin Date: Sat, 25 Nov 2023 23:52:13 +0200 Subject: [PATCH] Update Display.php --- classes/Display.php | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/classes/Display.php b/classes/Display.php index d9b7a25..9ed086d 100644 --- a/classes/Display.php +++ b/classes/Display.php @@ -1,11 +1,10 @@ $file line $line ($class$type$function)"; + $list .= '\n
'.$file.' line '.$line.' '."($class$type$function)".''; } return $list . '

'; } @@ -68,7 +67,7 @@ class Display */ public function __construct(&$contents) { - $this -> contents = $contents; + $this->contents = $contents; } /** @@ -78,13 +77,12 @@ class Display { $header = new TemplateIndexer(GLOBAL_HEADER); $footer = new TemplateIndexer(GLOBAL_FOOTER); - $output = $header -> __toString() . $this -> contents; + $output = $header->__toString() . $this->contents; if (DEBUG) { $output .= self::get_trace(); } - return $output . $footer -> __toString(); + return $output . $footer->__toString(); } } - -?> \ No newline at end of file +?>