Skip to content

Commit e026c37

Browse files
committedMay 30, 2023
Improve type hints
1 parent af0f866 commit e026c37

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎modules/cms/classes/Controller.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -1212,9 +1212,8 @@ public function renderComponent($name, $parameters = [])
12121212
/**
12131213
* Returns an existing instance of the controller.
12141214
* If the controller doesn't exists, returns null.
1215-
* @return mixed Returns the controller object or null.
12161215
*/
1217-
public static function getController()
1216+
public static function getController(): ?self
12181217
{
12191218
return self::$instance;
12201219
}

0 commit comments

Comments
 (0)
Please sign in to comment.