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/util/process_executor.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'crates/shirabe/src/util/process_executor.rs') diff --git a/crates/shirabe/src/util/process_executor.rs b/crates/shirabe/src/util/process_executor.rs index 9e89bdd4..c24e2f83 100644 --- a/crates/shirabe/src/util/process_executor.rs +++ b/crates/shirabe/src/util/process_executor.rs @@ -790,7 +790,6 @@ impl ProcessExecutor { self.allow_async = true; } - /// @return string[] pub fn split_lines(&self, output: &str) -> Vec { let output = trim(output, None); @@ -821,7 +820,6 @@ impl ProcessExecutor { Self::escape_argument(argument) } - /// @param string|list $command fn output_command_run(&self, command: &PhpMixed, cwd: Option<&str>, r#async: bool) { Self::output_command_run_with(&self.io, command, cwd, r#async); } @@ -943,7 +941,6 @@ impl ProcessExecutor { argument } - /// @param string[]|string $command pub fn requires_git_dir_env(&self, command: &PhpMixed) -> bool { let cmd: Vec = if !is_array(command) { explode(" ", command.as_string().unwrap_or("")) -- cgit v1.3.1