We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b7a67f commit ae33449Copy full SHA for ae33449
1 file changed
src/Factories/Entities/AuthCodeEntityFactory.php
@@ -96,7 +96,7 @@ public function fromState(array $state): AuthCodeEntity
96
$isRevoked = (bool) $state['is_revoked'];
97
$flowType = empty($state['flow_type']) ? null : FlowTypeEnum::tryFrom((string)$state['flow_type']);
98
$txCode = empty($state['tx_code']) ? null : (string)$state['tx_code'];
99
- $issuerState = (string) $state['issuer_state'];
+ $issuerState = empty($state['issuer_state']) ? null : (string)$state['issuer_state'];
100
101
/** @psalm-suppress MixedAssignment */
102
$authorizationDetails = isset($state['authorization_details']) && is_string($state['authorization_details']) ?
0 commit comments