N°8764 halt setup wizard at data issue - 2nd review

This commit is contained in:
odain
2026-01-13 15:21:57 +01:00
parent 7df59427cb
commit 1e15eb1161
7 changed files with 71 additions and 81 deletions

View File

@@ -701,11 +701,12 @@ abstract class ItopTestCase extends KernelTestCase
/**
* Return a temporary file path. that will be cleaned up by tearDown()
* @return string: temporary file path
*
* @return string: temporary file path: file prefix include phpunit test method name
*/
public function GetTemporaryFilePath(string $sPrefix = "test"): string
public function GetTemporaryFilePath(): string
{
$sPrefix = $this->getName(false);
$sPath = tempnam(sys_get_temp_dir(), $sPrefix);
$this->aFileToClean[] = $sPath;
return $sPath;