Skip to content

Commit

Permalink
chore: add dev version
Browse files Browse the repository at this point in the history
  • Loading branch information
tlayh committed Jun 27, 2024
1 parent acc048b commit d7c71c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies with nimut/typo3-complete:${{ matrix.typo3 }}
- name: Install dependencies with nimut/typo3-complete:12.0.x-dev
run: |
composer require --dev nimut/typo3-complete:${{ matrix.typo3 }} --no-progress
composer require --dev nimut/typo3-complete:12.0.x-dev --no-progress
git checkout composer.json
ln -nfs .Build/vendor/typo3/cms/typo3 typo3
Expand Down
3 changes: 2 additions & 1 deletion Classes/Typo3/Hook/LinkRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
use TYPO3\CMS\Frontend\Typolink\AbstractTypolinkBuilder;
use TYPO3\CMS\Frontend\Typolink\LinkResultInterface;
use TYPO3\CMS\Frontend\Typolink\UnableToLinkException;

class LinkRenderer extends AbstractTypolinkBuilder
Expand All @@ -22,7 +23,7 @@ public function __construct(
$this->renderingService = $renderingService ?? GeneralUtility::makeInstance(RenderingService::class);
}

public function build(array &$linkDetails, string $linkText, string $target, array $conf): array
public function build(array &$linkDetails, string $linkText, string $target, array $conf): LinkResultInterface
{
$footnoteHtml = $this->renderingService->renderFootnotes([$linkDetails['uid']], $conf);
// Trim HTML-code of footnotes - Otherwise some ugly problems can occur
Expand Down

0 comments on commit d7c71c3

Please sign in to comment.