From 2e1b564afc3f41387069b00c2c971b5e74c53775 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 25 Jul 2023 14:22:30 +0200 Subject: [PATCH] Update release --- src/API.php | 2 +- src/LightState.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/API.php b/src/API.php index d6d11cb7a..dd1d87090 100644 --- a/src/API.php +++ b/src/API.php @@ -51,7 +51,7 @@ final class API extends AbstractAPI * * @var string */ - public const RELEASE = '8.0.0-beta120'; + public const RELEASE = '8.0.0-beta121'; /** * Secret chat was not found. * diff --git a/src/LightState.php b/src/LightState.php index bf2caa2ec..1438081cc 100644 --- a/src/LightState.php +++ b/src/LightState.php @@ -37,7 +37,7 @@ final class LightState public function __construct(MTProto $API) { if ($API->hasEventHandler()) { - $this->eventHandler = \get_class($API->getEventHandler()); + $this->eventHandler = $API->getEventHandler()::class; } }