File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
VerifiableCredentials/SdJwtVc Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1313
1414class HttpClientDecorator
1515{
16- public const DEFAULT_HTTP_CLIENT_CONFIG = [RequestOptions::ALLOW_REDIRECTS => true ,];
16+ public const array DEFAULT_HTTP_CLIENT_CONFIG = [RequestOptions::ALLOW_REDIRECTS => true ,];
1717
1818
1919 public function __construct (public readonly Client $ client = new Client (self ::DEFAULT_HTTP_CLIENT_CONFIG ))
Original file line number Diff line number Diff line change 88
99class Arr
1010{
11- public const MAX_DEPTH = 99 ;
11+ public const int MAX_DEPTH = 99 ;
1212
1313
1414 /**
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class Disclosure implements JsonSerializable
1616 /**
1717 * @var non-empty-array<string|int>
1818 */
19- public const FORBIDDEN_NAMES = [
19+ public const array FORBIDDEN_NAMES = [
2020 ClaimsEnum::_SdAlg->value ,
2121 ClaimsEnum::_Sd->value ,
2222 ClaimsEnum::DotDotDot->value ,
Original file line number Diff line number Diff line change 2121 */
2222class SdJwt extends ParsedJws
2323{
24- public const TILDE = '~ ' ;
24+ public const string TILDE = '~ ' ;
2525
2626
2727 public function __construct (
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class SdJwtVc extends SdJwt
1717 * As per https://datatracker.ietf.org/doc/html/draft-ietf-oauth-sd-jwt-vc#section-3.2.2.2
1818 * @var string[]
1919 */
20- public const NON_SELECTIVELY_DISCLOSABLE_CLAIMS = [
20+ public const array NON_SELECTIVELY_DISCLOSABLE_CLAIMS = [
2121 ClaimsEnum::Iss->value ,
2222 ClaimsEnum::Nbf->value ,
2323 ClaimsEnum::Exp->value ,
Original file line number Diff line number Diff line change 66
77class Help
88{
9- public const DIR_DATA = 'data ' ;
9+ public const string DIR_DATA = 'data ' ;
1010
1111
1212 public function getTestRootDir (string ...$ pathElements ): string
You can’t perform that action at this time.
0 commit comments