* [misc] Use "static" keyword instead of "self".

This commit is contained in:
liugang
2025-11-18 14:38:18 +08:00
parent 6046750236
commit 48de97b681
15 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -19,6 +19,6 @@ class crontab extends baseDelegate
public function __construct($expression, ?FieldFactory $fieldFactory = null)
{
$this->instance = new self::$className($expression, $fieldFactory);
$this->instance = new static::$className($expression, $fieldFactory);
}
}