Skip to content

Commit

Permalink
Language level migration.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Brecht-Precht committed Dec 1, 2018
1 parent 47cb7ab commit 1f1cf16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Common/NodeInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface NodeInterface
/**
* @return int
*/
public function getIndex(): int;
public function getIndex(): ?int;

/**
* @return string
Expand Down
2 changes: 1 addition & 1 deletion src/Content/ContentInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ public function onDetach();
/**
* @param HandlerInterface $markdomHandler
*/
public function onHandle(HandlerInterface $markdomHandler);
public function onHandle(HandlerInterface $markdomHandler): void;

}

0 comments on commit 1f1cf16

Please sign in to comment.