From 7935d26cd16a4f8f69a59a44e27a7263b60e54bf Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 14 Sep 2026 19:05:30 +0000
Subject: [PATCH] =Simple Calendar block up and running
---
inc/blocks/FAQBlock.php | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/inc/blocks/FAQBlock.php b/inc/blocks/FAQBlock.php
index c43133c..d218b17 100644
--- a/inc/blocks/FAQBlock.php
+++ b/inc/blocks/FAQBlock.php
@@ -1,7 +1,7 @@
<?php
namespace JVBase\blocks;
-use JVBase\managers\Cache;
+use JVBase\managers\DirectoryManager;
use JVBase\registrar\Registrar;
use WP_Block;
use WP_Query;
@@ -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