This repository was archived by the owner on Sep 2, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 88use unreal4u \Dummy \Logger ;
99use unreal4u \TelegramAPI \Telegram \Types \Custom \ResultArray ;
1010
11+ #[\AllowDynamicProperties]
1112abstract class TelegramTypes
1213{
1314 /**
@@ -62,21 +63,19 @@ final protected function populateObject(array $data = []): TelegramTypes
6263 /**
6364 * The default is that we have no subobjects at all, so this function will return nothing
6465 *
65- * @param string $key
66- * @param array $data
67- *
6866 * @return TelegramTypes
6967 */
7068 protected function mapSubObjects (string $ key , array $ data ): TelegramTypes
7169 {
7270 if (!isset ($ this ->$ key )) {
7371 $ this ->logger ->error (sprintf (
74- 'The key "%s" does not exist in the class! Maybe a recent Telegram Bot API update? In any way, please ' .
72+ 'The key "%s" does not exist in the class %s ! Maybe a recent Telegram Bot API update? In any way, please ' .
7573 'submit an issue (bug report) at %s with this complete log line ' ,
7674 $ key ,
77- 'https://github.com/unreal4u/telegram-api/issues '
75+ static ::class,
76+ 'https://github.com/unreal4u/telegram-api/issues ' ,
7877 ), [
79- 'object ' => \get_class ( $ this ) ,
78+ 'object ' => static ::class ,
8079 'data ' => $ data ,
8180 ]);
8281 }
You can’t perform that action at this time.
0 commit comments