Skip to content

Commit

Permalink
Bugfix: properly treat Issuer-element as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Sep 23, 2024
1 parent 70d3cde commit 7dea611
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/XML/sp_200507/AbstractIssuedTokenType.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ abstract class AbstractIssuedTokenType extends AbstractSpElement
*/
final public function __construct(
protected RequestSecurityTokenTemplate $requestSecurityTokenTemplate,
protected ?Issuer $issuer,
protected ?Issuer $issuer = null,
IncludeToken|string|null $includeToken = null,
array $elts = [],
array $namespacedAttributes = [],
Expand Down
2 changes: 1 addition & 1 deletion src/XML/sp_200702/AbstractIssuedTokenType.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ abstract class AbstractIssuedTokenType extends AbstractSpElement
*/
final public function __construct(
protected RequestSecurityTokenTemplate $requestSecurityTokenTemplate,
protected Issuer|IssuerName|null $issuer,
protected Issuer|IssuerName|null $issuer = null,
?IncludeToken $includeToken = null,
array $elts = [],
array $namespacedAttributes = [],
Expand Down

0 comments on commit 7dea611

Please sign in to comment.