From 60982069f6014fc0212b6041e68ba1b96bd28f05 Mon Sep 17 00:00:00 2001 From: Erik Thuning <boooink@gmail.com> Date: Wed, 21 Feb 2024 16:31:51 +0100 Subject: [PATCH] Apparently final private is pointless, who knew --- include/Page.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/Page.php b/include/Page.php index 7c4060a..af01b01 100644 --- a/include/Page.php +++ b/include/Page.php @@ -37,7 +37,7 @@ abstract class Page extends Responder { $this->render_foot(); } - final private function render_head() { + private function render_head() { $headtitle = $this->title; $pagetitle = $this->title; if($this->subtitle) { @@ -78,13 +78,13 @@ abstract class Page extends Responder { return $menu; } - final private function render_error() { + private function render_error() { print(replace(array('type' => 'error', 'message' => $this->error), $this->fragments['message'])); } - final private function render_foot() { + private function render_foot() { print($this->template_parts['foot']); }