Skip to content

Commit 4c5a341

Browse files
committed
Fix scrutinizer issues
1 parent 41ab630 commit 4c5a341

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/Type/QNameValue.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use DOMElement;
88
use SimpleSAML\XML\Assert\Assert;
99
use SimpleSAML\XML\Exception\SchemaViolationException;
10-
use SimpleSAML\XML\Type\{AnyURIValue, NCNameValue};
1110

1211
use function preg_match;
1312

src/TypedTextContentTrait.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,13 @@ public static function getTextContentType(): string
104104
Assert::isAOf($type, ValueTypeInterface::class, InvalidValueTypeException::class);
105105
return $type;
106106
}
107+
108+
109+
/**
110+
* Create a document structure for this element
111+
*
112+
* @param \DOMElement|null $parent The element we should append to.
113+
* @return \DOMElement
114+
*/
115+
abstract public function instantiateParentElement(?DOMElement $parent = null): DOMElement;
107116
}

0 commit comments

Comments
 (0)