File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 "ext-zlib" : " *" ,
2424
2525 "psr/log" : " ~1.1 || ^2.0 || ^3.0" ,
26- "simplesamlphp/xml-security" : " ^1.1.0 " ,
26+ "simplesamlphp/xml-security" : " ^1.1.1 " ,
2727 "simplesamlphp/xml-soap" : " ^1.0.0" ,
2828 "simplesamlphp/assert" : " ^1.0.0"
2929 },
Original file line number Diff line number Diff line change @@ -32,7 +32,9 @@ public function __construct(
3232 /**
3333 * @param \SimpleSAML\SAML2\Assertion\Validation\SubjectConfirmationConstraintValidator $constraint
3434 */
35- public function addConstraintValidator (SubjectConfirmationConstraintValidator $ constraint ): void {
35+ public function addConstraintValidator (
36+ SubjectConfirmationConstraintValidator $ constraint
37+ ): void {
3638 if ($ constraint instanceof IdentityProviderAware) {
3739 $ constraint ->setIdentityProvider ($ this ->identityProvider );
3840 }
Original file line number Diff line number Diff line change 1919 */
2020trait ExtensionsTrait
2121{
22- /** @var \SimpleSAML\XML\ElementInterface [] */
22+ /** @var \SimpleSAML\XML\SerializableElementInterface [] */
2323 protected array $ extensions = [];
2424
2525
2626 /**
2727 * Extensions constructor.
2828 *
29- * @param \SimpleSAML\XML\ElementInterface [] $extensions
29+ * @param \SimpleSAML\XML\SerializableElementInterface [] $extensions
3030 */
3131 public function __construct (array $ extensions )
3232 {
@@ -57,7 +57,7 @@ public function __construct(array $extensions)
5757 /**
5858 * Get an array with all extensions present.
5959 *
60- * @return \SimpleSAML\XML\ElementInterface []
60+ * @return \SimpleSAML\XML\SerializableElementInterface []
6161 */
6262 public function getList (): array
6363 {
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function getAlgorithm(): string
5858 * Convert XML into a DigestMethod
5959 *
6060 * @param \DOMElement $xml The XML element we should load
61- * @return self
61+ * @return static
6262 *
6363 * @throws \SimpleSAML\XML\Exception\InvalidDOMElementException
6464 * if the qualified name of the supplied element is wrong
Original file line number Diff line number Diff line change @@ -92,7 +92,8 @@ public function testMarshallingWithoutOptionalParameters(): void
9292 $ this ->assertNull ($ kd ->getUse ());
9393 $ this ->assertEmpty ($ kd ->getEncryptionMethod ());
9494
95- $ this ->assertEquals (<<<XML
95+ $ this ->assertEquals (
96+ <<<XML
9697<md:KeyDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata">
9798 <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
9899 <ds:KeyName>IdentityProvider.com SSO Key</ds:KeyName>
Original file line number Diff line number Diff line change 2020use SimpleSAML \XML \DOMDocumentFactory ;
2121use SimpleSAML \XML \Exception \TooManyElementsException ;
2222use simpleSAML \XMLSecurity \XML \ds \KeyInfo ;
23- use simpleSAML \XMLSecurity \XML \ds \KeyName ;
23+ use SimpleSAML \XMLSecurity \XML \ds \KeyName ;
2424
2525use function dirname ;
2626use function strval ;
You can’t perform that action at this time.
0 commit comments