Commit 338974b0 authored by Carsten  Rose's avatar Carsten Rose
Browse files

phpDoc updated

parent be41d819
Pipeline #1673 failed with stage
in 2 minutes and 4 seconds
......@@ -20,6 +20,7 @@ class HelperFile {
* Iterate over array $files. Delete only named files which are stored in '/tmp/' . DOWNLOAD_FILE_PREFIX.
*
* @param array $files
* @throws CodeException
* @throws UserFormException
*/
public static function cleanTempFiles(array $files) {
......@@ -63,6 +64,8 @@ class HelperFile {
* Creates a temporary directory.
* Be aware: '/tmp' is under systemd/apache2 (Ubuntu 18...) remapped to something like: '/tmp/systemd-private-...-apache2.service-.../tmp'
*
* @return bool|string
* @throws CodeException
* @throws UserFormException
*/
public static function mktempdir() {
......@@ -111,7 +114,7 @@ class HelperFile {
return array();
}
$pathFileName = self::correctRelativPathFileName($pathFileName);
$pathFileName = self::correctRelativePathFileName($pathFileName);
if (!file_exists($pathFileName)) {
return array();
......@@ -129,7 +132,7 @@ class HelperFile {
* @param $pathFileName
* @return string
*/
public static function correctRelativPathFileName($pathFileName) {
public static function correctRelativePathFileName($pathFileName) {
if (empty($pathFileName)) {
return '';
......@@ -283,6 +286,7 @@ class HelperFile {
* @param $filename
* @param string $logFilename
* @return string
* @throws CodeException
* @throws UserFormException
*/
public static function unlink($filename, $logFilename = '') {
......
......@@ -1259,6 +1259,7 @@ class Support {
* @param $pathFileName
* @param bool $overwrite
* @param bool|int $chmodDir , 'false' if not change
* @throws CodeException
* @throws UserFormException
*/
public static function moveFile($srcFile, $pathFileName, $overwrite, $chmodDir = false) {
......
......@@ -189,6 +189,7 @@ class Config {
/**
* @param array $config
* @throws CodeException
* @throws UserFormException
* @throws UserReportException
*/
......@@ -243,6 +244,7 @@ class Config {
/**
* @param array $config
* @param string $reason
* @throws CodeException
* @throws UserFormException
* @throws UserReportException
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment