We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba9f9a0 commit 359847eCopy full SHA for 359847e
1 file changed
src/SSOData/SSODataTrait.php
@@ -27,11 +27,9 @@ trait SSODataTrait
27
/**
28
* Get the branch id of the app that issued the token.
29
*
30
- * The id will always be present.
31
- *
32
- * @return string
+ * @return null|string
33
*/
34
- public function getBranchId(): string
+ public function getBranchId(): ?string
35
{
36
return $this->getClaimSafe(SSODataClaimsInterface::CLAIM_BRANCH_ID);
37
}
@@ -61,9 +59,9 @@ public function getSessionId(): ?string
61
59
62
60
* The id will always be present.
63
64
65
66
- public function getInstanceId(): string
+ public function getInstanceId(): ?string
67
68
return $this->getClaimSafe(SSODataClaimsInterface::CLAIM_INSTANCE_ID);
69
0 commit comments