X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/c95f4ca40fecf0584eccb5f89d49b245d4ec7369..refs/pull/5721/head:/app/Entities/Repos/RevisionRepo.php diff --git a/app/Entities/Repos/RevisionRepo.php b/app/Entities/Repos/RevisionRepo.php index daf55777c..d5549a0f1 100644 --- a/app/Entities/Repos/RevisionRepo.php +++ b/app/Entities/Repos/RevisionRepo.php @@ -46,7 +46,7 @@ class RevisionRepo /** * Store a new revision in the system for the given page. */ - public function storeNewForPage(Page $page, string $summary = null): PageRevision + public function storeNewForPage(Page $page, ?string $summary = null): PageRevision { $revision = new PageRevision();