Skip to content

Commit

Permalink
[FIX] Fix CGL
Browse files Browse the repository at this point in the history
  • Loading branch information
fnagel committed Dec 29, 2024
1 parent 4a42d92 commit 9064459
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/Controller/AbstractController.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ protected function addCacheTags(mixed $object = null): void

// @extensionScannerIgnoreLine
$this->request->getAttribute('frontend.cache.collector')->addCacheTags(
...array_map(fn(string $tag) => new CacheTag($tag), $tags)
...array_map(fn (string $tag) => new CacheTag($tag), $tags)
);
}

Expand Down
1 change: 0 additions & 1 deletion Classes/Service/BackendModuleService.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
use TYPO3\CMS\Backend\Utility\BackendUtility;
use TYPO3\CMS\Core\Page\PageRenderer;
use TYPO3\CMS\Core\Authentication\BackendUserAuthentication;
use TYPO3\CMS\Core\Imaging\Icon;
use TYPO3\CMS\Core\Imaging\IconFactory;
use TYPO3\CMS\Core\Localization\LanguageService;
use TYPO3\CMS\Core\Type\Bitmask\Permission;
Expand Down
3 changes: 2 additions & 1 deletion Classes/UpgradeWizard/AbstractSlugUpgradeWizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ protected function createMissingSlugs(
foreach ($rows as $row) {
$queryBuilder
->update($table)->where($constraint, $queryBuilder->expr()->eq(
'uid', $queryBuilder->createNamedParameter($row['uid'], ParameterType::INTEGER)
'uid',
$queryBuilder->createNamedParameter($row['uid'], ParameterType::INTEGER)
))
->set($slug, $slugService->generate($row, $row['pid']))
->executeStatement();
Expand Down

0 comments on commit 9064459

Please sign in to comment.