Skip to content

Commit a44401a

Browse files
committed
Fix PHPstan issue
1 parent d39d817 commit a44401a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/SAML2/XML/md/RoleDescriptorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ public function testUnmarshallingUnregistered(): void
268268
$element->setAttributeNS(C::NS_XSI, 'xsi:type', 'ssp:UnknownRoleDescriptorType');
269269

270270
$descriptor = AbstractRoleDescriptor::fromXML($element);
271+
$this->assertInstanceOf(UnknownRoleDescriptor::class, $descriptor);
271272

272273
$this->assertCount(2, $descriptor->getKeyDescriptor());
273274
$this->assertInstanceOf(KeyDescriptor::class, $descriptor->getKeyDescriptor()[0]);

0 commit comments

Comments
 (0)