| @@ -15,9 +15,9 @@ | ||
| 15 | 15 | * Image represents an HTML image (an HTML img tag). |
| 16 | 16 | */ |
| 17 | 17 | class Image extends AbstractUriElement |
| 18 | 18 | { |
| 19 | - public function __construct(\DOMElement $node, string $currentUri = null) | |
| 19 | + public function __construct(\DOMElement $node, ?string $currentUri = null) | |
| 20 | 20 | { |
| 21 | 21 | parent::__construct($node, $currentUri, 'GET'); |
| 22 | 22 | } |
| 23 | 23 | |