mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +08:00
Fix phpcs errors
This commit is contained in:
parent
db4e1422d8
commit
362b782387
2 changed files with 1 additions and 2 deletions
|
@ -122,7 +122,7 @@ class SettingsPageAssets {
|
|||
)
|
||||
);
|
||||
} catch ( RuntimeException $exception ) {
|
||||
// Already displaying an admin message in SettingsListener.
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -160,7 +160,6 @@ class SettingsListener {
|
|||
'admin_notices',
|
||||
function () use ( $exception ) {
|
||||
printf(
|
||||
// translators: %s is the error message.
|
||||
'<div class="notice notice-error"><p>%s</p></div>',
|
||||
$exception->getMessage()
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue