diff options
Diffstat (limited to 'app/Contracts/MarkdownFactoryInterface.php')
| -rw-r--r-- | app/Contracts/MarkdownFactoryInterface.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Contracts/MarkdownFactoryInterface.php b/app/Contracts/MarkdownFactoryInterface.php index 9cb2d48ed7..20693b3444 100644 --- a/app/Contracts/MarkdownFactoryInterface.php +++ b/app/Contracts/MarkdownFactoryInterface.php @@ -32,7 +32,7 @@ interface MarkdownFactoryInterface * * @return string */ - public function autolink(string $markdown, Tree $tree = null): string; + public function autolink(string $markdown, Tree|null $tree = null): string; /** * @param string $markdown @@ -40,5 +40,5 @@ interface MarkdownFactoryInterface * * @return string */ - public function markdown(string $markdown, Tree $tree = null): string; + public function markdown(string $markdown, Tree|null $tree = null): string; } |
