fix init check
This commit is contained in:
parent
f5d57cf0ee
commit
f863b80465
1 changed files with 3 additions and 3 deletions
|
@ -21,14 +21,14 @@ class Prepend extends dcNsProcess
|
|||
{
|
||||
public static function init(): bool
|
||||
{
|
||||
self::$init = true;
|
||||
static::$init = true;
|
||||
|
||||
return self::$init;
|
||||
return static::$init;
|
||||
}
|
||||
|
||||
public static function process(): bool
|
||||
{
|
||||
if (!self::$init) {
|
||||
if (!static::$init) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue