- Fixed default value for privilege and module variable

This commit is contained in:
Dave Mc Nicoll 2023-08-31 09:16:24 -04:00
parent dc4dcd89f5
commit 66a9345e06
1 changed files with 2 additions and 2 deletions

View File

@ -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,
) {}
}