mirror of
https://github.com/crypto-pro-web/crypto-pro-php.git
synced 2025-01-18 19:25:51 +03:00
поправил извлечение констант
This commit is contained in:
parent
78ece2bd76
commit
0ce05ac65c
@ -38,10 +38,10 @@ abstract class AbstractDictionary implements DictionaryInterface
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
array_push($map, ...$class::MAP);
|
array_push($map, ...constant($class . '::MAP'));
|
||||||
} while (($class = get_parent_class($class)) != self::class);
|
} while (($class = get_parent_class($class)) != self::class);
|
||||||
|
|
||||||
array_push($map, ...$class::MAP);
|
array_push($map, ...constant($class . '::MAP'));
|
||||||
|
|
||||||
return $map;
|
return $map;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user