From 66a9345e06c548eb52a3dc8655bdf970ad48b5e2 Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Thu, 31 Aug 2023 09:16:24 -0400 Subject: [PATCH] - Fixed default value for privilege and module variable --- src/Attribute/Taxus.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Attribute/Taxus.php b/src/Attribute/Taxus.php index a1137c0..da4a02b 100644 --- a/src/Attribute/Taxus.php +++ b/src/Attribute/Taxus.php @@ -5,7 +5,7 @@ namespace Notes\Security\Attribute; #[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)] class Taxus implements \Notes\Attribute { public function __construct( - public string $privilege = "", - public string $module = "", + public null|string $privilege = null, + public null|string $module = null, ) {} }