From 7c1d103c81b9891b493ec8846dc55b803f68da07 Mon Sep 17 00:00:00 2001 From: huubl <50170696+huubl@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:51:38 +0100 Subject: [PATCH] Use array as default --- src/Block.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Block.php b/src/Block.php index 43ea75d..1e5f376 100644 --- a/src/Block.php +++ b/src/Block.php @@ -527,8 +527,8 @@ public function settings(): Collection 'category' => $this->category, 'icon' => $this->getIcon(), 'keywords' => $this->keywords, - 'parent' => $this->parent ?: null, - 'ancestor' => $this->ancestor ?: null, + 'parent' => $this->parent, + 'ancestor' => $this->ancestor, 'post_types' => $this->post_types, 'mode' => $this->mode, 'align' => $this->align,