From 437a52e90edbd12ee3193ca386cf54949eea7d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Goetz?= Date: Wed, 8 Jan 2020 08:17:33 +0100 Subject: [PATCH] path can be null in case of generated pages --- libs/Tree/Entry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Tree/Entry.php b/libs/Tree/Entry.php index 5fdd03c..f02e0cf 100644 --- a/libs/Tree/Entry.php +++ b/libs/Tree/Entry.php @@ -134,7 +134,7 @@ abstract class Entry /** * @return string */ - public function getPath(): string + public function getPath(): ?string { return $this->path; }