Update src/StaticPHP/Artifact/Downloader/Type/CheckUpdateInterface.php

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jerry Ma 2026-02-28 14:18:32 +08:00 committed by GitHub
parent 64b0e72908
commit 6ef5e9e067
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ interface CheckUpdateInterface
*
* @param string $name the name of the artifact
* @param array $config the configuration for the artifact
* @param string $old_version old version or identifier of the artifact to compare against
* @param null|string $old_version old version or identifier of the artifact to compare against
* @param ArtifactDownloader $downloader the artifact downloader instance
*/
public function checkUpdate(string $name, array $config, ?string $old_version, ArtifactDownloader $downloader): CheckUpdateResult;