Skip to content

Commit 3136b45

Browse files
committed
Add @immutable to Signer and Token
1 parent ab01ddc commit 3136b45

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
/Makefile export-ignore
1414
/.roave-backward-compatibility-check.json export-ignore
1515
/.readthedocs.yaml export-ignore
16-
/renovate.json export-ignore
16+
/renovate.json export-ignore

src/Signer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Lcobucci\JWT\Signer\Key;
1010
use NoDiscard;
1111

12+
/** @immutable */
1213
interface Signer
1314
{
1415
/**

src/Token.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Lcobucci\JWT\Token\DataSet;
88
use NoDiscard;
99

10+
/** @immutable */
1011
interface Token
1112
{
1213
/**

0 commit comments

Comments
 (0)