Skip to content

Commit 2ae53f1

Browse files
authored
[5.4] Fix return type for App getDocument, getLanguage methods as nullability (joomla#46238)
1 parent 9272ce1 commit 2ae53f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/src/Application/WebApplication.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ protected function render()
256256
/**
257257
* Method to get the application document object.
258258
*
259-
* @return Document The document object
259+
* @return ?Document The document object
260260
*
261261
* @since 1.7.3
262262
*/
@@ -268,7 +268,7 @@ public function getDocument()
268268
/**
269269
* Method to get the application language object.
270270
*
271-
* @return Language The language object
271+
* @return ?Language The language object
272272
*
273273
* @since 1.7.3
274274
*/

0 commit comments

Comments
 (0)