Skip to content

Commit

Permalink
Cleanup fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesbochmann committed Jan 3, 2024
1 parent ec29bbe commit 7f5cb2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/Controller/BaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function initializeAction(): void
if (11 === $typo3Version->getMajorVersion()) {
$cropperPath = PathUtility::getPublicResourceWebPath('EXT:mkcontentai/Resources/Public/JavaScript/cropper');
}
$pageRenderer = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Page\PageRenderer::class);
$pageRenderer = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Page\PageRenderer::class);
$pageRenderer->loadRequireJsModule('TYPO3/CMS/Mkcontentai/MkContentAi');
$pageRenderer->addRequireJsConfiguration(
[
Expand Down
2 changes: 1 addition & 1 deletion Classes/Service/FileService.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function getFiles(): array
}

/**
* @return \TYPO3\CMS\Core\Resource\Folder|\TYPO3\CMS\Core\Resource\InaccessibleFolder
* @return Folder|\TYPO3\CMS\Core\Resource\InaccessibleFolder
*
* @throws \TYPO3\CMS\Core\Resource\Exception\InsufficientFolderAccessPermissionsException
*/
Expand Down
2 changes: 1 addition & 1 deletion Classes/User/InlineControl/ImageGenerationButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function render(): string
$item .= htmlspecialchars('AI generation of image by text prompt');
$item .= '</button></div>';

$pageRenderer = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Page\PageRenderer::class);
$pageRenderer = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Page\PageRenderer::class);
$pageRenderer->loadRequireJsModule('TYPO3/CMS/Mkcontentai/BackendPrompt');

return $item;
Expand Down

0 comments on commit 7f5cb2e

Please sign in to comment.