mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 03:34:42 +01:00
Fix
This commit is contained in:
parent
401f111c31
commit
9413c0faf2
@ -46,6 +46,6 @@ final class PeriodicLoopInternal extends PeriodicLoop
|
||||
public function __construct(MTProto $API, Closure $callable, string $name, ?int $interval)
|
||||
{
|
||||
$this->init($API);
|
||||
parent::__construct($callable, $name, $interval);
|
||||
parent::__construct(static fn () => $callable(), $name, $interval);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user