mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-18 22:25:35 +08:00
update some strict parameters and separate easter eggs
This commit is contained in:
@@ -19,8 +19,7 @@ use ZM\Annotation\AnnotationBase;
|
||||
#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD)]
|
||||
class Init extends AnnotationBase
|
||||
{
|
||||
/** @var int */
|
||||
public $worker = 0;
|
||||
public int $worker = 0;
|
||||
|
||||
public function __construct(int $worker = 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user