- Fixed a typo
This commit is contained in:
1 parent
cee97fca25
commit
5f00c2b603
3 files changed
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Notes\CLI\Attribute;
|
||||
|
||||
use Attribute;
|
||||
|
||||
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]
|
||||
class Command implements \Notes\Attribute {
|
||||
|
||||
public function __construct(
|
||||
public string $description,
|
||||
public null|string $command = null,
|
||||
public string|\Closure|null $default = null,
|
||||
public null|string $version = null,
|
||||
) {}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user