Fix comment about nullable return type

This commit is contained in:
Kijin Sung 2025-06-03 11:17:18 +09:00
parent e3f08ef322
commit f4a686ce47
2 changed files with 8 additions and 8 deletions

View file

@ -49,7 +49,7 @@ class ModuleHandler extends Handler
* prepares variables to use in moduleHandler * prepares variables to use in moduleHandler
* @param string $module name of module * @param string $module name of module
* @param string $act name of action * @param string $act name of action
* @param int $mid * @param string $mid
* @param int $document_srl * @param int $document_srl
* @param int $module_srl * @param int $module_srl
* @return void * @return void

View file

@ -128,7 +128,7 @@ class ModuleObject extends BaseObject
* setter to set an url for redirection * setter to set an url for redirection
* *
* @param string|array $url url for redirection * @param string|array $url url for redirection
* @return $this * @return object
*/ */
public function setRedirectUrl($url = './', $output = NULL) public function setRedirectUrl($url = './', $output = NULL)
{ {
@ -151,7 +151,7 @@ class ModuleObject extends BaseObject
/** /**
* get url for redirection * get url for redirection
* *
* @return string * @return ?string
*/ */
public function getRedirectUrl() public function getRedirectUrl()
{ {
@ -546,7 +546,7 @@ class ModuleObject extends BaseObject
/** /**
* retrieve the directory path of the template directory * retrieve the directory path of the template directory
* *
* @return string * @return ?string
*/ */
public function getTemplateFile() public function getTemplateFile()
{ {
@ -577,7 +577,7 @@ class ModuleObject extends BaseObject
/** /**
* retrieve the directory path of the template directory * retrieve the directory path of the template directory
* *
* @return string * @return ?string
*/ */
public function getTemplatePath() public function getTemplatePath()
{ {
@ -600,7 +600,7 @@ class ModuleObject extends BaseObject
/** /**
* retreived the file name of edited_layout_file * retreived the file name of edited_layout_file
* *
* @return string * @return ?string
*/ */
public function getEditedLayoutFile() public function getEditedLayoutFile()
{ {
@ -622,7 +622,7 @@ class ModuleObject extends BaseObject
/** /**
* get the file name of the layout file * get the file name of the layout file
* *
* @return string * @return ?string
*/ */
public function getLayoutFile() public function getLayoutFile()
{ {
@ -653,7 +653,7 @@ class ModuleObject extends BaseObject
/** /**
* set the directory path of the layout directory * set the directory path of the layout directory
* *
* @return string * @return ?string
*/ */
public function getLayoutPath($layout_name = "", $layout_type = "P") public function getLayoutPath($layout_name = "", $layout_type = "P")
{ {