Fix psalm error

This commit is contained in:
Daniel Hüsken 2024-11-20 14:58:48 +01:00
parent 3bdf969a61
commit 3bad3bad7d
No known key found for this signature in database
GPG key ID: 9F732DA37FA709E8

View file

@ -141,9 +141,12 @@ class Plugin implements PluginInterface {
// phpcs:disable
$text = \__( $this->description, $this->text_domain );
// phpcs:enable
/**
* @psalm-suppress InvalidArgument
*/
return wp_kses( $text, $allowed_tags );
// phpcs:enable
}
/**