From 8484c8937f01ec830dcd50592454f3906630dbe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armando=20L=C3=BCscher?= Date: Sat, 27 May 2023 17:17:47 +0200 Subject: [PATCH] Fix for PHP 7 --- src/Entities/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entities/Entity.php b/src/Entities/Entity.php index 7c014662..378d7151 100644 --- a/src/Entities/Entity.php +++ b/src/Entities/Entity.php @@ -57,7 +57,7 @@ public function __construct(array $data, string $bot_username = '') * @param mixed $value * @return void */ - public function __set(string $name, mixed $value): void + public function __set(string $name, $value): void { $this->fields[$name] = $value; }