Skip to content

Commit 1f1cf16

Browse files
author
Martin Brecht-Precht
committed
Language level migration.
1 parent 47cb7ab commit 1f1cf16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Common/NodeInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ interface NodeInterface
2020
/**
2121
* @return int
2222
*/
23-
public function getIndex(): int;
23+
public function getIndex(): ?int;
2424

2525
/**
2626
* @return string

src/Content/ContentInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ public function onDetach();
5353
/**
5454
* @param HandlerInterface $markdomHandler
5555
*/
56-
public function onHandle(HandlerInterface $markdomHandler);
56+
public function onHandle(HandlerInterface $markdomHandler): void;
5757

5858
}

0 commit comments

Comments
 (0)