allow UniqueIdProcessor as key flag
This commit is contained in:
bovenliggende
55b61f944c
commit
3e1956e2bd
@ -38,7 +38,9 @@ trait ProcessorsTrait
|
|||||||
*/
|
*/
|
||||||
protected function applyUidProcessor(array $processorFlags, $logger): void
|
protected function applyUidProcessor(array $processorFlags, $logger): void
|
||||||
{
|
{
|
||||||
if (in_array(self::PROCESSOR_UNIQUE_ID, $processorFlags, true)) {
|
if (in_array(self::PROCESSOR_UNIQUE_ID, $processorFlags, true) ||
|
||||||
|
in_array(self::PROCESSOR_UNIQUE_ID, array_keys($processorFlags), true)
|
||||||
|
) {
|
||||||
$logger->pushProcessor(new UidProcessor());
|
$logger->pushProcessor(new UidProcessor());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
x
Verwijs in nieuw issue
Block a user