From deb45d3244e6fe7dcb52f176c442969d3e08f89f Mon Sep 17 00:00:00 2001 From: theodesp <328805+theodesp@users.noreply.github.com> Date: Wed, 3 Jan 2024 11:24:40 +0000 Subject: [PATCH] Chore: Code Review Updates --- includes/Blocks/Block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Blocks/Block.php b/includes/Blocks/Block.php index 109b06cc..a5f14cfa 100644 --- a/includes/Blocks/Block.php +++ b/includes/Blocks/Block.php @@ -190,7 +190,7 @@ private function get_attribute_type( $name, $attribute, $prefix ) { * * @return array */ - private function get_block_attribute_fields( ?array $block_attributes, $prefix = null ): array { + private function get_block_attribute_fields( ?array $block_attributes, $prefix = '' ): array { $fields = []; // Bail early if no attributes are defined.