mirror of
https://github.com/crypto-pro-web/crypto-pro-php.git
synced 2025-01-18 11:25:50 +03:00
поправил извлечение констант
This commit is contained in:
parent
78ece2bd76
commit
0ce05ac65c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user