Skip to content

Commit

Permalink
[BUGFIX] Avoid static calls to LogDataTrait::formatLogDetails
Browse files Browse the repository at this point in the history
Resolves: #103097
Releases: 12.4, 11.5
Change-Id: I9280a8489cd0b301a1d9c66efc8428bad206cb8c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82891
Tested-by: core-ci <typo3@b13.com>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
  • Loading branch information
ohader committed Feb 10, 2024
1 parent 1765efd commit 3301010
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -210,8 +210,8 @@ protected function assertErrorLogEntries(array $expectedMessages = null): void
->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()
);
Expand Down

0 comments on commit 3301010

Please sign in to comment.