diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-06 04:22:46 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-06 04:23:22 +0900 |
| commit | 3d4a0cadc950d4440251efa11b55b0bfb0afdef7 (patch) | |
| tree | cf1cd680867b9aa633eafe6332b881711b738823 /crates/shirabe/src/downloader/download_manager.rs | |
| parent | ce6192f1cfaac63457b173f573ada661a4665bfb (diff) | |
| download | php-shirabe-3d4a0cadc950d4440251efa11b55b0bfb0afdef7.tar.gz php-shirabe-3d4a0cadc950d4440251efa11b55b0bfb0afdef7.tar.zst php-shirabe-3d4a0cadc950d4440251efa11b55b0bfb0afdef7.zip | |
chore: drop @param/@return tags that only restate Rust types
The ported docblocks copied @param and @return straight from the PHP
source. When such a tag carries nothing but a type and an argument name,
the Rust signature already states it, so the line is noise. Tags whose
text adds prose beyond the type are kept.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/downloader/download_manager.rs')
| -rw-r--r-- | crates/shirabe/src/downloader/download_manager.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crates/shirabe/src/downloader/download_manager.rs b/crates/shirabe/src/downloader/download_manager.rs index 2aa9c74e..ea3fed41 100644 --- a/crates/shirabe/src/downloader/download_manager.rs +++ b/crates/shirabe/src/downloader/download_manager.rs @@ -180,7 +180,6 @@ impl DownloadManager { /// @param PackageInterface $package package instance /// @param string $targetDir target dir /// @param PackageInterface|null $prevPackage previous package instance in case of updates - /// @phpstan-return PromiseInterface<void|null> /// /// @throws \InvalidArgumentException if package have no urls to download from /// @throws \RuntimeException @@ -270,7 +269,6 @@ impl DownloadManager { /// @param PackageInterface $package package instance /// @param string $targetDir target dir /// @param PackageInterface|null $prevPackage previous package instance in case of updates - /// @phpstan-return PromiseInterface<void|null> pub async fn prepare( &self, r#type: &str, @@ -293,7 +291,6 @@ impl DownloadManager { /// /// @param PackageInterface $package package instance /// @param string $targetDir target dir - /// @phpstan-return PromiseInterface<void|null> /// /// @throws \InvalidArgumentException if package have no urls to download from /// @throws \RuntimeException @@ -315,7 +312,6 @@ impl DownloadManager { /// @param PackageInterface $initial initial package version /// @param PackageInterface $target target package version /// @param string $targetDir target dir - /// @phpstan-return PromiseInterface<void|null> /// /// @throws \InvalidArgumentException if initial package is not installed pub async fn update( @@ -398,7 +394,6 @@ impl DownloadManager { /// /// @param PackageInterface $package package instance /// @param string $targetDir target dir - /// @phpstan-return PromiseInterface<void|null> pub async fn remove( &self, package: PackageInterfaceHandle, @@ -418,7 +413,6 @@ impl DownloadManager { /// @param PackageInterface $package package instance /// @param string $targetDir target dir /// @param PackageInterface|null $prevPackage previous package instance in case of updates - /// @phpstan-return PromiseInterface<void|null> pub async fn cleanup( &self, r#type: &str, @@ -465,8 +459,6 @@ impl DownloadManager { } } - /// @return string[] - /// @phpstan-return array<'dist'|'source'>&non-empty-array fn get_available_sources( &self, package: PackageInterfaceHandle, |
