From 649eff642a0e94773f3d2fb0ab985bddfa70a712 Mon Sep 17 00:00:00 2001 From: Abishek R Srikaanth <1639302+abishekrsrikaanth@users.noreply.github.com> Date: Tue, 28 May 2024 10:02:03 +0000 Subject: [PATCH] Fixing return type for method reunderUsingHook --- src/QuickCreatePlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QuickCreatePlugin.php b/src/QuickCreatePlugin.php index 3c8135b..23ea533 100644 --- a/src/QuickCreatePlugin.php +++ b/src/QuickCreatePlugin.php @@ -195,7 +195,7 @@ public function shouldBeHidden(): bool return $this->evaluate($this->hidden) ?? false; } - public function renderUsingHook(string $panelHook): string + public function renderUsingHook(string $panelHook): static { $this->renderUsingHook = $panelHook;