mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix psalm
This commit is contained in:
parent
3b0a057b31
commit
d12a9d3547
1 changed files with 2 additions and 1 deletions
|
@ -211,9 +211,10 @@ class SettingsListener {
|
|||
/**
|
||||
* Ensure 3DS contingency use `SCA_ALWAYS` instead of `3D_SECURE`.
|
||||
*
|
||||
* @return void
|
||||
* @throws NotFoundException When a setting was not found.
|
||||
*/
|
||||
public function listen_for_3d_secure_contingency() {
|
||||
public function listen_for_3d_secure_contingency(): void {
|
||||
if ( ! $this->is_valid_site_request() || $this->settings->get( '3d_secure_contingency' ) !== '3D_SECURE' ) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue