Skip to content

Commit 8e4f41e

Browse files
committed
no message
1 parent a2e355d commit 8e4f41e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

class/files/include/IncludeFunctions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ private function getRewriteUrl($moduleDirname, $tableName)
263263
* @param string \$module module name
264264
* @param array \$array array
265265
* @param string \$type type
266-
* @return string \$type string replacement for any blank case
266+
* @return null|string \$type string replacement for any blank case
267267
*/
268268
function {$moduleDirname}_RewriteUrl(\$module, \$array, \$type = 'content')
269269
{
@@ -344,7 +344,7 @@ function {$moduleDirname}_RewriteUrl(\$module, \$array, \$type = 'content')
344344
return XOOPS_URL . \$rewrite_base . \$module_name . \$type . \$topic_name . \$page . \$rewrite_ext;
345345
break;
346346
}
347-
return '';
347+
return null;
348348
}
349349
EOT;
350350

class/files/include/IncludeNotifications.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function getNotificationsFunction($moduleDirname)
103103
*
104104
* @param \$category
105105
* @param \$item_id
106-
* @return array item
106+
* @return array item|null
107107
*/
108108
function {$moduleDirname}_notify_iteminfo(\$category, \$item_id)
109109
{
@@ -155,7 +155,7 @@ function {$moduleDirname}_notify_iteminfo(\$category, \$item_id)
155155
return $item;
156156
break;
157157
}
158-
return '';
158+
return null;
159159
}
160160
EOT;
161161

0 commit comments

Comments
 (0)