From 0ce05ac65ccc2c393e4913d773337ac555ffe553 Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Wed, 9 Nov 2022 22:20:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=B8=D0=B7=D0=B2=D0=BB=D0=B5=D1=87=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=BA=D0=BE=D0=BD=D1=81=D1=82=D0=B0=D0=BD=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Dictionary/AbstractDictionary.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dictionary/AbstractDictionary.php b/src/Dictionary/AbstractDictionary.php index a0004fd..37b0ae9 100755 --- a/src/Dictionary/AbstractDictionary.php +++ b/src/Dictionary/AbstractDictionary.php @@ -38,10 +38,10 @@ abstract class AbstractDictionary implements DictionaryInterface do { - array_push($map, ...$class::MAP); + array_push($map, ...constant($class . '::MAP')); } while (($class = get_parent_class($class)) != self::class); - array_push($map, ...$class::MAP); + array_push($map, ...constant($class . '::MAP')); return $map; }