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/repository/filesystem_repository.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/repository/filesystem_repository.rs')
| -rw-r--r-- | crates/shirabe/src/repository/filesystem_repository.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crates/shirabe/src/repository/filesystem_repository.rs b/crates/shirabe/src/repository/filesystem_repository.rs index b8ee30c6..7ecd0664 100644 --- a/crates/shirabe/src/repository/filesystem_repository.rs +++ b/crates/shirabe/src/repository/filesystem_repository.rs @@ -381,7 +381,6 @@ impl FilesystemRepository { true } - /// @param array<mixed> $array fn dump_to_php_code(&self, array: &IndexMap<String, PhpMixed>, level: i64) -> String { let mut lines = String::from("array(\n"); let level = level + 1; @@ -448,7 +447,6 @@ impl FilesystemRepository { lines } - /// @param array<string, string> $installPaths fn generate_installed_versions( &mut self, installation_manager: &dyn InstallationManagerInterface, @@ -612,9 +610,6 @@ impl FilesystemRepository { Ok(versions) } - /// @param array<string, string> $installPaths - /// @param array<string, int> $devPackages - /// @return array{pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev_requirement: bool} fn dump_installed_package( &self, package: PackageInterfaceHandle, @@ -693,9 +688,6 @@ impl FilesystemRepository { data } - /// @param array<string, string> $installPaths - /// @param array<string, int> $devPackages - /// @return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool} fn dump_root_package( &self, package: RootPackageInterfaceHandle, |
