Breaking: #101143 - Strict typing in LinktypeInterface¶
See forge#101143
Description¶
All methods in the interface \TYPO3\CMS\Linkvalidator\Linktype\LinktypeInterface
are now strictly typed.
Impact¶
Classes implementing the interface must now ensure all methods are strictly typed.
Affected installations¶
Custom classes implementing \TYPO3\CMS\Linkvalidator\Linktype\LinktypeInterface
Migration¶
Ensure that classes that implement \TYPO3\CMS\Linkvalidator\Linktype\LinktypeInterface
have the following signatures:
public function checkLink(string $url, array $softRefEntry, LinkAnalyzer $reference): bool;
public function fetchType(array $value, string $type, string $key): string;
public function getErrorParams(): array;
public function getBrokenUrl(array $row): string;
public function getErrorMessage(array $errorParams): string;
Copied!