Skip to content

Commit 651773b

Browse files
committed
updated tests
1 parent d366928 commit 651773b

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Classes/Domain/Repository/TtContentRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/***************************************************************
88
* Copyright notice
99
* (c) 2026 David Bruchmann <david.bruchmann@gmail.com>
10-
* (c) 2021-2023 Ephraim Härer <mail@ephra.im>
10+
* (c) 2021-2026 Ephraim Härer <mail@ephra.im>
1111
* (c) 2013 Dirk Hoffmann <dirk-hoffmann@telekom.de>
1212
* All rights reserved
1313
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -110,7 +110,7 @@ public function collectContentDataFromPages(
110110
->addOrderBy('sorting')
111111
->executeQuery();
112112

113-
/** @var array<non-empty-string, string|int|float|bool|null> $item */
113+
/** @var array<string,mixed>|false $item */
114114
while ($item = $result->fetchAssociative()) {
115115
if (!empty($this->extensionConfiguration['overlayShortcutTranslation']) && $language > 0) {
116116
$translatedItem = BackendUtility::getRecordLocalization('tt_content', (int)($item['uid'] ?? 0), $language) ?: [];

Tests/Functional/ApiCompatibilityTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/***************************************************************
88
* Copyright notice
9-
* (c) 2024 Ephraim Härer <mail@ephra.im>
9+
* (c) 2024-2026 Ephraim Härer <mail@ephra.im>
1010
* All rights reserved
1111
* This script is part of the TYPO3 project. The TYPO3 project is
1212
* free software; you can redistribute it and/or modify
@@ -24,10 +24,7 @@
2424

2525
use EHAERER\PasteReference\DataHandler\ProcessCmdmap;
2626
use EHAERER\PasteReference\Domain\Repository\TtContentRepository;
27-
use EHAERER\PasteReference\EventListener\AfterTcaCompilationEventListener;
28-
use EHAERER\PasteReference\Helper\BackendHelper;
2927
use PHPUnit\Framework\Attributes\Test;
30-
use TYPO3\CMS\Core\Configuration\Event\AfterTcaCompilationEvent;
3128
use TYPO3\CMS\Core\Configuration\ExtensionConfiguration;
3229
use TYPO3\CMS\Core\Database\ConnectionPool;
3330
use TYPO3\CMS\Core\DataHandling\DataHandler;

0 commit comments

Comments
 (0)