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(); ?>