- Fixed default value for privilege and module variable
This commit is contained in:
parent
dc4dcd89f5
commit
66a9345e06
|
@ -5,7 +5,7 @@ namespace Notes\Security\Attribute;
|
||||||
#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
|
#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
|
||||||
class Taxus implements \Notes\Attribute {
|
class Taxus implements \Notes\Attribute {
|
||||||
public function __construct(
|
public function __construct(
|
||||||
public string $privilege = "",
|
public null|string $privilege = null,
|
||||||
public string $module = "",
|
public null|string $module = null,
|
||||||
) {}
|
) {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue