From 3ba3cb453acb29d31244b1c100eea832a2873b4f Mon Sep 17 00:00:00 2001 From: CrazyTapok Date: Fri, 31 Mar 2023 10:20:28 +0300 Subject: [PATCH] Remove redundant constructor calls --- src/Entities/InitData.php | 5 ----- src/Entities/LoginWidget.php | 5 ----- 2 files changed, 10 deletions(-) diff --git a/src/Entities/InitData.php b/src/Entities/InitData.php index 9a12560..ef795dd 100644 --- a/src/Entities/InitData.php +++ b/src/Entities/InitData.php @@ -53,9 +53,4 @@ class InitData extends InitDataMake * A hash of all passed parameters, which the bot server can use to check their validity. */ public string $hash; - - public function __construct(array $props) - { - parent::__construct($props); - } } diff --git a/src/Entities/LoginWidget.php b/src/Entities/LoginWidget.php index 519885c..d884b04 100644 --- a/src/Entities/LoginWidget.php +++ b/src/Entities/LoginWidget.php @@ -42,9 +42,4 @@ class LoginWidget extends Make * A hash of all passed parameters, which the bot server can use to check their validity. */ public string $hash; - - public function __construct(array $props) - { - parent::__construct($props); - } }