mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Fix psalm error
This commit is contained in:
parent
3bdf969a61
commit
3bad3bad7d
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue