From 6c65601cc4781a4fac00f4ae2a7a8def24c28e72 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Wed, 31 May 2023 21:36:23 -0500 Subject: formatting --- src/View/class-template.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/View') diff --git a/src/View/class-template.php b/src/View/class-template.php index ea75648..ddcb1fa 100644 --- a/src/View/class-template.php +++ b/src/View/class-template.php @@ -3,14 +3,13 @@ namespace HN\View; /** - * Template View - * - * @author cmc - */ +* Template View +* +* @author cmc +*/ class Template { - public function __construct(string $canonical_url, string $page_description, string $page_title, string $content_col) - { + public function __construct(string $canonical_url, string $page_description, string $page_title, string $content_col) { $this->canonical_url = $canonical_url; $this->description = $page_description; $this->title = $page_title; @@ -18,8 +17,7 @@ class Template $this->current_year = date("Y"); } - public function echo_template() - { + public function echo_template() { // Get the template file $template_file = 'templates/template.html'; $page = file_get_contents($template_file); @@ -37,3 +35,4 @@ class Template } // EOF + -- cgit v1.2.3-70-g09d2