]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Repos/RevisionRepo.php
PHP: Addressed 8.4 deprecations within app itself
[bookstack] / app / Entities / Repos / RevisionRepo.php
index daf55777ce3e9557ab282a8f678880f19bee55c3..d5549a0f14aa0d45c66e9bfea6c5736c4eac536c 100644 (file)
@@ -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();