From 1aa7c404dae63c9518468fe9b579fad819f8d871 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 13 Sep 2026 18:32:43 +0000
Subject: [PATCH] =Single Event page setup done through the new Event block. Currently working on the Simple Calendar block setup
---
inc/blocks/FAQBlock.php | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/inc/blocks/FAQBlock.php b/inc/blocks/FAQBlock.php
index f39d98f..d218b17 100644
--- a/inc/blocks/FAQBlock.php
+++ b/inc/blocks/FAQBlock.php
@@ -24,7 +24,8 @@
/**
* Register the FAQ block
*/
- public function registerBlock() {
+ public function registerBlock():void
+ {
// Register the block
register_block_type(
JVB_DIR . '/build/faq',
@@ -125,7 +126,7 @@
* @param WP_Block $block Block instance
* @return string Rendered block HTML
*/
- public function render($attributes, $content, $block)
+ public function render(array $attributes, string $content, WP_Block $block):string
{
ob_start();
?>
--
Gitblit v1.10.0