@@ -340,7 +340,7 @@ public static function parseDescriptorsString(string $string): array
340340 * This function parses a DOMElement which represents either an EntityDescriptor element or an
341341 * EntitiesDescriptor element. It will return an associative array of SAMLParser instances in both cases.
342342 *
343- * @param \DOMElement|NULL $element The DOMElement which contains the EntityDescriptor element or the
343+ * @param \DOMElement|null $element The DOMElement which contains the EntityDescriptor element or the
344344 * EntitiesDescriptor element.
345345 *
346346 * @return SAMLParser[] An associative array of SAMLParser instances. The key of the array will
@@ -366,9 +366,8 @@ public static function parseDescriptorsElement(?DOMElement $element = null): arr
366366
367367 /**
368368 *
369- * @param \SAML2\XML\md\EntityDescriptor|\SAML2\XML\md\EntitiesDescriptor $element
370- * The element we should process.
371- * @param int|NULL $maxExpireTime The maximum expiration time of the entities.
369+ * @param \SAML2\XML\md\EntityDescriptor|\SAML2\XML\md\EntitiesDescriptor $element The element we should process.
370+ * @param int|null $maxExpireTime The maximum expiration time of the entities.
372371 * @param array $validators The parent-elements that may be signed.
373372 * @param array $parentExtensions An optional array of extensions from the parent element.
374373 *
@@ -749,9 +748,8 @@ private static function parseRoleDescriptorType(RoleDescriptor $element, ?int $e
749748 * - 'nameIDFormats': The NameIDFormats supported by this SSODescriptor. This may be an empty array.
750749 * - 'keys': Array of associative arrays with the elements from parseKeyDescriptor:
751750 *
752- * @param \SimpleSAML\SAML2\XML\md\SSODescriptorType $element The element we should extract metadata from.
753- * @param int|null $expireTime The unix timestamp for when this element should expire, or
754- * NULL if unknown.
751+ * @param \SAML2\XML\md\SSODescriptorType $element The element we should extract metadata from.
752+ * @param int|null $expireTime The unix timestamp for when this element should expire, or NULL if unknown.
755753 *
756754 * @return array An associative array with metadata we have extracted from this element.
757755 */
@@ -778,9 +776,8 @@ private static function parseSSODescriptor(SSODescriptorType $element, ?int $exp
778776 /**
779777 * This function extracts metadata from a SPSSODescriptor element.
780778 *
781- * @param \SimpleSAML\SAML2\XML\md\SPSSODescriptor $element The element which should be parsed.
782- * @param int|null $expireTime The unix timestamp for when this element should expire, or
783- * NULL if unknown.
779+ * @param \SAML2\XML\md\SPSSODescriptor $element The element which should be parsed.
780+ * @param int|null $expireTime The unix timestamp for when this element should expire, or NULL if unknown.
784781 */
785782 private function processSPSSODescriptor (SPSSODescriptor $ element , ?int $ expireTime ): void
786783 {
@@ -812,9 +809,8 @@ private function processSPSSODescriptor(SPSSODescriptor $element, ?int $expireTi
812809 /**
813810 * This function extracts metadata from a IDPSSODescriptor element.
814811 *
815- * @param \SimpleSAML\SAML2\XML\md\IDPSSODescriptor $element The element which should be parsed.
816- * @param int|null $expireTime The unix timestamp for when this element should expire, or
817- * NULL if unknown.
812+ * @param \SAML2\XML\md\IDPSSODescriptor $element The element which should be parsed.
813+ * @param int|null $expireTime The unix timestamp for when this element should expire, or NULL if unknown.
818814 */
819815 private function processIDPSSODescriptor (IDPSSODescriptor $ element , ?int $ expireTime ): void
820816 {
@@ -836,9 +832,8 @@ private function processIDPSSODescriptor(IDPSSODescriptor $element, ?int $expire
836832 /**
837833 * This function extracts metadata from a AttributeAuthorityDescriptor element.
838834 *
839- * @param \SimpleSAML\SAML2\XML\md\AttributeAuthorityDescriptor $element The element which should be parsed.
840- * @param int|null $expireTime The unix timestamp for when this element should
841- * expire, or NULL if unknown.
835+ * @param \SAML2\XML\md\AttributeAuthorityDescriptor $element The element which should be parsed.
836+ * @param int|null $expireTime The unix timestamp for when this element should expire, or NULL if unknown.
842837 */
843838 private function processAttributeAuthorityDescriptor (
844839 AttributeAuthorityDescriptor $ element ,
0 commit comments