File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public function __construct(
4040 */
4141 protected function setContent (ValueTypeInterface $ content ): void
4242 {
43- Assert::isAOf ($ content , static ::getTextContentType (), InvalidValueTypeException::class);
43+ Assert::isAOf ($ content , self ::getTextContentType (), InvalidValueTypeException::class);
4444 $ this ->content = $ content ;
4545 }
4646
@@ -112,8 +112,8 @@ public function toXML(?DOMElement $parent = null): DOMElement
112112 */
113113 public static function getTextContentType (): string
114114 {
115- if (defined ('static ::TEXTCONTENT_TYPE ' )) {
116- $ type = static ::TEXTCONTENT_TYPE ;
115+ if (defined ('self ::TEXTCONTENT_TYPE ' )) {
116+ $ type = self ::TEXTCONTENT_TYPE ;
117117 } else {
118118 $ type = StringValue::class;
119119 }
You can’t perform that action at this time.
0 commit comments