Skip to content

Commit fe27e7b

Browse files
committed
corrections coderabbitai 5
1 parent 031e944 commit fe27e7b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

class/Common/DirectoryChecker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public static function dirExists($dir_path)
152152
}
153153
$path = \Xmf\Request::getString('path','', 'POST');
154154
$redirect = \Xmf\Request::getString('redirect','', 'POST');
155-
$mode = \Xmf\Request::getInt('mode','', 'POST');
155+
$mode = \Xmf\Request::getInt('mode',0 , 'POST');
156156
$msg = DirectoryChecker::setDirectoryPermissions($path, $mode) ? \constant('CO_' . $moduleDirNameUpper . '_' . 'DC_PERMSET') : \constant('CO_' . $moduleDirNameUpper . '_' . 'DC_PERMNOTSET');
157157

158158
\redirect_header($redirect, 2, $msg . ': ' . $path);

class/Files/Language/LanguageHelp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static function getInstance()
5757

5858
/**
5959
* @public function write
60-
* @param $module
60+
* @param Modulebuilder\Modules $module
6161
* @param string $filename
6262
*/
6363
public function write(Modulebuilder\Modules $module, string $filename): void

0 commit comments

Comments
 (0)