mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +08:00
Fix psalm
This commit is contained in:
parent
e29ef9c7d6
commit
a5af3677e2
2 changed files with 4 additions and 1 deletions
|
@ -52,7 +52,7 @@ class CancelController {
|
|||
/**
|
||||
* Runs the controller.
|
||||
*/
|
||||
public function run() {
|
||||
public function run(): void {
|
||||
$param_name = self::NONCE;
|
||||
if ( isset( $_GET[ $param_name ] ) && // Input var ok.
|
||||
wp_verify_nonce(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue