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

@ -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(