diff --git a/app/Helpers/Temp.php b/app/Helpers/Temp.php index 4214fc1..111e438 100644 --- a/app/Helpers/Temp.php +++ b/app/Helpers/Temp.php @@ -66,12 +66,10 @@ function tempFileInfo(string $filePath): array * @param string $part The file part number. * @return bool If the file exists. */ -function tempFileExists(string $dir, string $name, string $extension = '', string $part = ''): string +function tempFileExists(string $dir, string $name, string $extension = '', string $part = ''): bool { $filename = constructTempFileName($dir, $name, $extension, $part); - $exists = file_exists($filename); - Log::Info($filename . ' ' . ($exists ? 'true' : 'false')); return $exists; }