Skip to content

Commit dda048c

Browse files
committed
Explicit nullable type
1 parent f1f8730 commit dda048c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SerializableElementInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ public static function fromXML(DOMElement $xml): static;
4444
* @param \DOMElement|null $parent
4545
* @return \DOMElement
4646
*/
47-
public function toXML(DOMElement $parent = null): DOMElement;
47+
public function toXML(?DOMElement $parent = null): DOMElement;
4848
}

0 commit comments

Comments
 (0)