2525 *
2626 * @package simplesamlphp/xml-common
2727 */
28- abstract class AbstractElement implements SerializableElementInterface
28+ abstract class AbstractElement implements
29+ SerializableElementInterface,
30+ ElementInterface
2931{
3032 use SerializableElementTrait;
3133
@@ -34,7 +36,6 @@ abstract class AbstractElement implements SerializableElementInterface
3436 * Create a document structure for this element
3537 *
3638 * @param \DOMElement|null $parent The element we should append to.
37- * @return \DOMElement
3839 */
3940 public function instantiateParentElement (?DOMElement $ parent = null ): DOMElement
4041 {
@@ -117,7 +118,6 @@ public static function getOptionalAttribute(
117118 * Static method that processes a fully namespaced class name and returns the name of the class from it.
118119 *
119120 * @param string $class
120- * @return string
121121 */
122122 public static function getClassName (string $ class ): string
123123 {
@@ -129,8 +129,6 @@ public static function getClassName(string $class): string
129129
130130 /**
131131 * Get the XML qualified name (prefix:name) of the element represented by this class.
132- *
133- * @return string
134132 */
135133 public function getQualifiedName (): string
136134 {
@@ -166,8 +164,6 @@ public static function getChildrenOfClass(DOMElement $parent): array
166164
167165 /**
168166 * Get the namespace for the element.
169- *
170- * @return string|null
171167 */
172168 public static function getNamespaceURI (): ?string
173169 {
@@ -187,8 +183,6 @@ public static function getNamespaceURI(): ?string
187183
188184 /**
189185 * Get the namespace-prefix for the element.
190- *
191- * @return string
192186 */
193187 public static function getNamespacePrefix (): string
194188 {
@@ -206,8 +200,6 @@ public static function getNamespacePrefix(): string
206200
207201 /**
208202 * Get the local name for the element.
209- *
210- * @return string
211203 */
212204 public static function getLocalName (): string
213205 {
@@ -224,8 +216,6 @@ public static function getLocalName(): string
224216
225217 /**
226218 * Whether the element may be normalized.
227- *
228- * @return bool
229219 */
230220 public static function getNormalization (): bool
231221 {
@@ -244,7 +234,6 @@ public static function getNormalization(): bool
244234 * Test if an object, at the state it's in, would produce an empty XML-element
245235 *
246236 * @codeCoverageIgnore
247- * @return bool
248237 */
249238 public function isEmptyElement (): bool
250239 {
0 commit comments