Skip to content

Commit

Permalink
Add missing type declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Aug 16, 2022
1 parent 1924090 commit 41719c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Constants.php
Expand Up @@ -114,7 +114,7 @@ class Constants extends \SimpleSAML\XML\Constants
public const SIG_HMAC_SHA512 = 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha512';
public const SIG_HMAC_RIPEMD160 = 'http://www.w3.org/2001/04/xmldsig-more#hmac-ripemd160';

public static $RSA_DIGESTS = [
public static array $RSA_DIGESTS = [
self::SIG_RSA_SHA1 => self::DIGEST_SHA1,
self::SIG_RSA_SHA224 => self::DIGEST_SHA224,
self::SIG_RSA_SHA256 => self::DIGEST_SHA256,
Expand All @@ -123,7 +123,7 @@ class Constants extends \SimpleSAML\XML\Constants
self::SIG_RSA_RIPEMD160 => self::DIGEST_RIPEMD160,
];

public static $HMAC_DIGESTS = [
public static array $HMAC_DIGESTS = [
self::SIG_HMAC_SHA1 => self::DIGEST_SHA1,
self::SIG_HMAC_SHA224 => self::DIGEST_SHA224,
self::SIG_HMAC_SHA256 => self::DIGEST_SHA256,
Expand Down

0 comments on commit 41719c4

Please sign in to comment.