From 60839a5dd75653369b764295c8f75420a88a20fc Mon Sep 17 00:00:00 2001 From: Toon Van den Bos Date: Mon, 13 May 2024 16:23:02 +0200 Subject: [PATCH] Fixed newResource calls. References #64. Closes #70, #72, #92 --- src/Pages/StaticResource.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Pages/StaticResource.php b/src/Pages/StaticResource.php index 7d8462b..913a358 100644 --- a/src/Pages/StaticResource.php +++ b/src/Pages/StaticResource.php @@ -44,11 +44,8 @@ abstract class StaticResource extends Resource /** * Create a new resource instance. - * - * @param \Whitecube\NovaPage\Pages\Template $resource - * @return void */ - public function __construct(Template $resource) + public function __construct(Manager|Template $resource) { parent::__construct($resource); }