From c0033d8819dce14b850d62f513a0587b0cd7b7fb Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Thu, 17 Dec 2020 17:39:35 +0100 Subject: [PATCH] fix WP coding standard issue --- includes/class-signature.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-signature.php b/includes/class-signature.php index a2836f0..5caf884 100644 --- a/includes/class-signature.php +++ b/includes/class-signature.php @@ -112,7 +112,7 @@ class Signature { } public static function generate_digest( $body ) { - $digest = \base64_encode( \hash('sha256', $body, true ) ); // phpcs:ignore + $digest = \base64_encode( \hash( 'sha256', $body, true ) ); // phpcs:ignore return "$digest"; } }