From ff8592764a504a630f7bfaf275c08306d32165f6 Mon Sep 17 00:00:00 2001 From: Fedik Date: Mon, 6 Oct 2025 17:47:48 +0300 Subject: [PATCH] Fix return type for App getDocument, getLanguage methods --- libraries/src/Application/WebApplication.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/src/Application/WebApplication.php b/libraries/src/Application/WebApplication.php index bbe24c82d2d5e..d276f17ec31bf 100644 --- a/libraries/src/Application/WebApplication.php +++ b/libraries/src/Application/WebApplication.php @@ -256,7 +256,7 @@ protected function render() /** * Method to get the application document object. * - * @return Document The document object + * @return ?Document The document object * * @since 1.7.3 */ @@ -268,7 +268,7 @@ public function getDocument() /** * Method to get the application language object. * - * @return Language The language object + * @return ?Language The language object * * @since 1.7.3 */