From b6a36319d1aae39c5cac9e5d29d0894b5dbdd5b4 Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Thu, 26 Jan 2023 18:50:16 +0000 Subject: [PATCH] - WIP on attributes --- src/Attribute/Taxus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Attribute/Taxus.php b/src/Attribute/Taxus.php index acb0e5f..e6a5073 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 $module, public string $privilege = "", + public null|string $module = null, ) {} }