path can be null in case of generated pages

This commit is contained in:
Stéphane Goetz 2020-01-08 08:17:33 +01:00 committed by GitHub
parent 13377c5ba6
commit 437a52e90e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ abstract class Entry
/**
* @return string
*/
public function getPath(): string
public function getPath(): ?string
{
return $this->path;
}