mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-20 23:35:37 +08:00
v3 base
This commit is contained in:
14
src/StaticPHP/Attribute/Doctor/FixItem.php
Normal file
14
src/StaticPHP/Attribute/Doctor/FixItem.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace StaticPHP\Attribute\Doctor;
|
||||
|
||||
/**
|
||||
* Indicate a method is a fix item for doctor check.
|
||||
*/
|
||||
#[\Attribute(\Attribute::TARGET_METHOD)]
|
||||
class FixItem
|
||||
{
|
||||
public function __construct(public string $name) {}
|
||||
}
|
||||
Reference in New Issue
Block a user