From fd73134a09ee102eb3ec69c1a8d1ffcc44295715 Mon Sep 17 00:00:00 2001 From: damienharper Date: Wed, 22 Feb 2023 23:54:32 +0100 Subject: [PATCH] PHP-CS-Fixer --- .../Doctrine/Auditing/Transaction/TransactionProcessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Provider/Doctrine/Auditing/Transaction/TransactionProcessor.php b/src/Provider/Doctrine/Auditing/Transaction/TransactionProcessor.php index e3dc75e0..4df0dace 100644 --- a/src/Provider/Doctrine/Auditing/Transaction/TransactionProcessor.php +++ b/src/Provider/Doctrine/Auditing/Transaction/TransactionProcessor.php @@ -211,7 +211,7 @@ private function audit(array $data): void $schema = $data['schema'] ? $data['schema'].'.' : ''; $auditTable = $schema.$configuration->getTablePrefix().$data['table'].$configuration->getTableSuffix(); $dt = new DateTimeImmutable('now', new DateTimeZone($this->provider->getAuditor()->getConfiguration()->getTimezone())); - $diff = is_string($data["diff"]) ? mb_convert_encoding($data['diff'], 'UTF-8', 'UTF-8') : $data["diff"]; + $diff = \is_string($data['diff']) ? mb_convert_encoding($data['diff'], 'UTF-8', 'UTF-8') : $data['diff']; $payload = [ 'entity' => $data['entity'],