Skip to content

Commit

Permalink
Add wst classes
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jan 27, 2024
1 parent 09bad78 commit 3bbd650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XML/wst/AbstractRequestedSecurityTokenType.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static function fromXML(DOMElement $xml): static
$children[] = new Chunk($child);
}

Assert::minCount($children, 1, MissingElementEcxeption::class);
Assert::minCount($children, 1, MissingElementException::class);
Assert::maxCount($children, 1, TooManyElementsException::class);

return new static(array_pop($children));
Expand Down

0 comments on commit 3bbd650

Please sign in to comment.