From 4e0ee131a4d96383ef2d128d34f027c8490ff402 Mon Sep 17 00:00:00 2001
From: Oliver Hader <oliver@typo3.org>
Date: Sat, 10 Feb 2024 18:10:11 +0100
Subject: [PATCH] [BUGFIX] Avoid static calls to LogDataTrait::formatLogDetails

Resolves: #103097
Releases: 12.4, 11.5
Change-Id: I9280a8489cd0b301a1d9c66efc8428bad206cb8c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82890
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Benjamin Franzke <ben@bnf.dev>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Benjamin Franzke <ben@bnf.dev>
---
 .../DataHandling/AbstractDataHandlerActionTestCase.php        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php b/typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php
index ee91fac5b658..978140f90896 100644
--- a/typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php
+++ b/typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php
@@ -187,8 +187,8 @@ abstract class AbstractDataHandlerActionTestCase extends FunctionalTestCase
             ->fetchOne();
 
         $entryMessages = array_map(
-            static function (array $entry) {
-                return self::formatLogDetails($entry['details'] ?? '', $entry['log_data'] ?? '');
+            function (array $entry) {
+                return $this->formatLogDetails($entry['details'] ?? '', $entry['log_data'] ?? '');
             },
             $statement->fetchAllAssociative()
         );
-- 
GitLab