From 3d4a0cadc950d4440251efa11b55b0bfb0afdef7 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 6 Aug 2026 04:22:46 +0900 Subject: 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) --- crates/shirabe/src/installer/library_installer.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'crates/shirabe/src/installer/library_installer.rs') diff --git a/crates/shirabe/src/installer/library_installer.rs b/crates/shirabe/src/installer/library_installer.rs index a037fac9..e53b9546 100644 --- a/crates/shirabe/src/installer/library_installer.rs +++ b/crates/shirabe/src/installer/library_installer.rs @@ -142,8 +142,6 @@ impl LibraryInstaller { install_path } - /// @return PromiseInterface|null - /// @phpstan-return PromiseInterface|null pub(crate) async fn install_code( &self, package: PackageInterfaceHandle, @@ -156,8 +154,6 @@ impl LibraryInstaller { .await } - /// @return PromiseInterface|null - /// @phpstan-return PromiseInterface|null pub(crate) async fn update_code( &self, initial: PackageInterfaceHandle, @@ -187,8 +183,6 @@ impl LibraryInstaller { .await } - /// @return PromiseInterface|null - /// @phpstan-return PromiseInterface|null pub(crate) async fn remove_code( &self, package: PackageInterfaceHandle, -- cgit v1.3.1