@@ -19,7 +19,7 @@ class Constants extends \SimpleSAML\XML\Constants
1919 public const DIGEST_SHA512 = 'http://www.w3.org/2001/04/xmlenc#sha512 ' ;
2020 public const DIGEST_RIPEMD160 = 'http://www.w3.org/2001/04/xmlenc#ripemd160 ' ;
2121
22- public static $ DIGEST_ALGORITHMS = [
22+ public static array $ DIGEST_ALGORITHMS = [
2323 self ::DIGEST_SHA1 => 'sha1 ' ,
2424 self ::DIGEST_SHA224 => 'sha224 ' ,
2525 self ::DIGEST_SHA256 => 'sha256 ' ,
@@ -45,7 +45,7 @@ class Constants extends \SimpleSAML\XML\Constants
4545 public const BLOCK_ENC_AES192_GCM = 'http://www.w3.org/2009/xmlenc11#aes192-gcm ' ;
4646 public const BLOCK_ENC_AES256_GCM = 'http://www.w3.org/2009xmlenc11#aes256-gcm ' ;
4747
48- public static $ BLOCK_CIPHER_ALGORITHMS = [
48+ public static array $ BLOCK_CIPHER_ALGORITHMS = [
4949 self ::BLOCK_ENC_3DES => 'des-ede3-cbc ' ,
5050 self ::BLOCK_ENC_AES128 => 'aes-128-cbc ' ,
5151 self ::BLOCK_ENC_AES192 => 'aes-192-cbc ' ,
@@ -55,7 +55,7 @@ class Constants extends \SimpleSAML\XML\Constants
5555 self ::BLOCK_ENC_AES256_GCM => 'aes-256-gcm ' ,
5656 ];
5757
58- public static $ BLOCK_SIZES = [
58+ public static array $ BLOCK_SIZES = [
5959 self ::BLOCK_ENC_3DES => 8 ,
6060 self ::BLOCK_ENC_AES128 => 16 ,
6161 self ::BLOCK_ENC_AES192 => 16 ,
@@ -65,7 +65,7 @@ class Constants extends \SimpleSAML\XML\Constants
6565 self ::BLOCK_ENC_AES256_GCM => 16 ,
6666 ];
6767
68- public static $ BLOCK_CIPHER_KEY_SIZES = [
68+ public static array $ BLOCK_CIPHER_KEY_SIZES = [
6969 self ::BLOCK_ENC_3DES => 24 ,
7070 self ::BLOCK_ENC_AES128 => 16 ,
7171 self ::BLOCK_ENC_AES192 => 24 ,
0 commit comments