diff options
author | Freya Murphy <freya@freyacat.org> | 2024-07-08 17:22:30 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-07-08 17:22:30 -0400 |
commit | 8a2c577823b69117af8eda9b1a46bfbcae8153c6 (patch) | |
tree | e89dee0f77377a665c78d8a3cea6012888d9af73 /src/web/_controller/blog.php | |
parent | fix2 (diff) | |
download | website-8a2c577823b69117af8eda9b1a46bfbcae8153c6.tar.gz website-8a2c577823b69117af8eda9b1a46bfbcae8153c6.tar.bz2 website-8a2c577823b69117af8eda9b1a46bfbcae8153c6.zip |
a few fixes, just a few....
Diffstat (limited to 'src/web/_controller/blog.php')
-rw-r--r-- | src/web/_controller/blog.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/_controller/blog.php b/src/web/_controller/blog.php index f13ffd1..4a961e1 100644 --- a/src/web/_controller/blog.php +++ b/src/web/_controller/blog.php @@ -18,7 +18,7 @@ class Blog_controller extends Controller { $this->view('footer', $data); } - private function protect($folder) { + private function protect(string $folder): void { if (!array_key_exists('name', $_GET)) { $this->error(400); } @@ -62,7 +62,7 @@ class Blog_controller extends Controller { $this->view('footer', $data); } - public function rss() { + public function rss(): void { $data = $this->blog_model->get_data(); header('Content-Type: application/xml'); $this->view('apps/blog_rss', $data); |