Fix psalm

This commit is contained in:
Alex P 2023-06-14 12:40:01 +03:00
parent e29ef9c7d6
commit a5af3677e2
No known key found for this signature in database
GPG key ID: 54487A734A204D71
2 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,7 @@
<?php <?php
if (!defined('PAYPAL_INTEGRATION_DATE')) {
define('PAYPAL_INTEGRATION_DATE', '2023-06-02');
}
if (!defined('EP_PAGES')) { if (!defined('EP_PAGES')) {
define('EP_PAGES', 4096); define('EP_PAGES', 4096);
} }

View file

@ -52,7 +52,7 @@ class CancelController {
/** /**
* Runs the controller. * Runs the controller.
*/ */
public function run() { public function run(): void {
$param_name = self::NONCE; $param_name = self::NONCE;
if ( isset( $_GET[ $param_name ] ) && // Input var ok. if ( isset( $_GET[ $param_name ] ) && // Input var ok.
wp_verify_nonce( wp_verify_nonce(