Skip to content
Snippets Groups Projects

Issue #3510868: PHP 8.1 compatibility fix.

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -22,7 +22,7 @@ class CKEditorAnchorLinkMatcher extends MatcherBase {
public function execute($string) {
$suggestions = new SuggestionCollection();
$string = ltrim($string, '#');
$string = ltrim((string) $string, '#');
$suggestion = new DescriptionSuggestion();
$suggestion->setLabel($this->t('#@anchor_link', ['@anchor_link' => $string]))
Loading