aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/descriptor
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-06 04:22:46 +0900
committernsfisis <nsfisis@gmail.com>2026-08-06 04:23:22 +0900
commit3d4a0cadc950d4440251efa11b55b0bfb0afdef7 (patch)
treecf1cd680867b9aa633eafe6332b881711b738823 /crates/shirabe-external-packages/src/symfony/console/descriptor
parentce6192f1cfaac63457b173f573ada661a4665bfb (diff)
downloadphp-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-external-packages/src/symfony/console/descriptor')
-rw-r--r--crates/shirabe-external-packages/src/symfony/console/descriptor/application_description.rs1
-rw-r--r--crates/shirabe-external-packages/src/symfony/console/descriptor/text_descriptor.rs2
2 files changed, 0 insertions, 3 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/console/descriptor/application_description.rs b/crates/shirabe-external-packages/src/symfony/console/descriptor/application_description.rs
index 63127266..62fc9933 100644
--- a/crates/shirabe-external-packages/src/symfony/console/descriptor/application_description.rs
+++ b/crates/shirabe-external-packages/src/symfony/console/descriptor/application_description.rs
@@ -50,7 +50,6 @@ impl ApplicationDescription {
self.namespaces.clone().unwrap()
}
- /// @return Command[]
pub fn get_commands(
&mut self,
) -> &IndexMap<String, std::rc::Rc<std::cell::RefCell<dyn Command>>> {
diff --git a/crates/shirabe-external-packages/src/symfony/console/descriptor/text_descriptor.rs b/crates/shirabe-external-packages/src/symfony/console/descriptor/text_descriptor.rs
index 2aaa3ebc..4b85844e 100644
--- a/crates/shirabe-external-packages/src/symfony/console/descriptor/text_descriptor.rs
+++ b/crates/shirabe-external-packages/src/symfony/console/descriptor/text_descriptor.rs
@@ -483,7 +483,6 @@ impl TextDescriptor {
))
}
- /// @param array<Command|string> $commands
fn get_column_width(&self, commands: &[CommandOrString]) -> i64 {
let mut widths: Vec<i64> = vec![];
@@ -510,7 +509,6 @@ impl TextDescriptor {
}
}
- /// @param InputOption[] $options
fn calculate_total_width_for_options(&self, options: &[&InputOption]) -> i64 {
let mut total_width: i64 = 0;
for option in options {