1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 03:34:42 +01:00
This commit is contained in:
Daniil Gentili 2023-11-11 17:11:19 +01:00
parent 401f111c31
commit 9413c0faf2

View File

@ -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);
}
}