Skip to content

Commit 095e54b

Browse files
committed
Fix codesniffer issues
1 parent cd47e9e commit 095e54b

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/Decorators/HttpClientDecorator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
class 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))

src/Helpers/Arr.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class Arr
1010
{
11-
public const MAX_DEPTH = 99;
11+
public const int MAX_DEPTH = 99;
1212

1313

1414
/**

src/SdJwt/Disclosure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

src/SdJwt/SdJwt.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222
class SdJwt extends ParsedJws
2323
{
24-
public const TILDE = '~';
24+
public const string TILDE = '~';
2525

2626

2727
public function __construct(

src/VerifiableCredentials/SdJwtVc/SdJwtVc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

tests/src/Help.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class Help
88
{
9-
public const DIR_DATA = 'data';
9+
public const string DIR_DATA = 'data';
1010

1111

1212
public function getTestRootDir(string ...$pathElements): string

0 commit comments

Comments
 (0)