From bfee9744964416730daf2b604d45cccb0e1cc099 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Sun, 1 Sep 2024 00:08:46 +0200 Subject: [PATCH] Fix assertion --- src/XML/fed/AbstractSecurityTokenServiceType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XML/fed/AbstractSecurityTokenServiceType.php b/src/XML/fed/AbstractSecurityTokenServiceType.php index 1c5702af..7a5e3d13 100644 --- a/src/XML/fed/AbstractSecurityTokenServiceType.php +++ b/src/XML/fed/AbstractSecurityTokenServiceType.php @@ -77,7 +77,7 @@ final public function __construct( Assert::minCount($securityTokenServiceEndpoint, 1, MissingElementException::class); Assert::allIsInstanceOf( $securityTokenServiceEndpoint, - AbstractSecurityTokenServiceType::class, + SecurityTokenServiceEndpoint::class, SchemaViolationException::class, ); Assert::allIsInstanceOf(