Full spell for SPC_DOWNLOAD

This commit is contained in:
crazywhalecc
2025-03-30 23:27:43 +08:00
parent 6dd6d807b6
commit 5c04638cb4
8 changed files with 24 additions and 24 deletions

View File

@@ -16,7 +16,7 @@ class PostgreSQLSource extends CustomSourceBase
* @throws DownloaderException
* @throws FileSystemException
*/
public function fetch(bool $force = false, ?array $config = null, int $lock_as = SPC_DOWN_SOURCE): void
public function fetch(bool $force = false, ?array $config = null, int $lock_as = SPC_DOWNLOAD_SOURCE): void
{
Downloader::downloadSource('postgresql', self::getLatestInfo(), $force);
}