fix WP coding standard issue
This commit is contained in:
parent
91f9c1e263
commit
c0033d8819
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue