Поправил нотисы

This commit is contained in:
Artem Vasilev 2022-11-08 13:53:29 +03:00
parent c47e29fc9f
commit 3b292bb8dc

View File

@ -12,17 +12,17 @@ abstract class AbstractDictionary implements DictionaryInterface
$options = []; $options = [];
if (!!$implements[TitleAwareInterface::class]) if (in_array(TitleAwareInterface::class, $implements))
{ {
$options['title'] = $data['title'] ?? null; $options['title'] = $data['title'] ?? null;
} }
if (!!$implements[OIDAwareInterface::class]) if (in_array(OIDAwareInterface::class, $implements))
{ {
$options['OID'] = $data['OID'] ?? null; $options['OID'] = $data['OID'] ?? null;
} }
if (!!$implements[RDNAwareInterface::class]) if (in_array(RDNAwareInterface::class, $implements))
{ {
$options['RDN'] = $data['RDN'] ?? null; $options['RDN'] = $data['RDN'] ?? null;
} }