Skip to content

Commit

Permalink
[TASK] Ignore PHPStan error for parseFunc parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbltr committed Dec 8, 2023
1 parent 864e34c commit 6c2fcd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/Plugins/AbstractPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,10 @@ private static function getRequestPostOverGetParameterWithPrefix(string $paramet
public function pi_RTEcssText(string $str): string
{
if (GeneralUtility::makeInstance(Typo3Version::class)->getMajorVersion() < 12) {
// @phpstan-ignore-next-line
$str = $this->cObj->parseFunc($str, [], '< lib.parseFunc_RTE');
} else {
// @phpstan-ignore-next-line
$str = $this->cObj->parseFunc($str, null, '< lib.parseFunc_RTE');
}
return $str;
Expand Down

0 comments on commit 6c2fcd3

Please sign in to comment.