Skip to content

Commit

Permalink
[BUGFIX] Fix for "Typed property AbstractController::$document must n…
Browse files Browse the repository at this point in the history
…ot be accessed before initialization" (#1085)
  • Loading branch information
beatrycze-volk authored Nov 7, 2023
1 parent 1cbfdf4 commit 89ee8a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/AbstractController.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function injectDocumentRepository(DocumentRepository $documentRepository)
* @access protected
* @var Document|null This holds the current document
*/
protected ?Document $document;
protected ?Document $document = null;

/**
* @access protected
Expand Down

0 comments on commit 89ee8a1

Please sign in to comment.