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-external-packages/src/symfony/console/helper/question_helper.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-external-packages/src/symfony/console/helper/question_helper.rs')
| -rw-r--r-- | crates/shirabe-external-packages/src/symfony/console/helper/question_helper.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/console/helper/question_helper.rs b/crates/shirabe-external-packages/src/symfony/console/helper/question_helper.rs index fd716aaa..987c43f1 100644 --- a/crates/shirabe-external-packages/src/symfony/console/helper/question_helper.rs +++ b/crates/shirabe-external-packages/src/symfony/console/helper/question_helper.rs @@ -106,8 +106,6 @@ pub trait QuestionHelperInterface { /// Asks the question to the user (PHP private; on the trait so it can late-bind the hooks). /// - /// @return mixed - /// /// @throws RuntimeException In case the fallback is deactivated and the response cannot be hidden fn do_ask( &self, @@ -318,7 +316,6 @@ impl QuestionHelper { STTY.store(false, std::sync::atomic::Ordering::SeqCst); } - /// @return mixed fn get_default_answer(&self, question: &impl QuestionInterface) -> PhpMixed { let default = question.get_default(); @@ -380,7 +377,6 @@ impl QuestionHelper { .write(&[message], false, output_interface::OUTPUT_NORMAL); } - /// @return string[] pub(crate) fn format_choice_question_choices( &self, question: &ChoiceQuestion, @@ -433,8 +429,6 @@ impl QuestionHelper { } /// Autocompletes a question. - /// - /// @param resource $inputStream fn autocomplete( &self, output: std::rc::Rc<std::cell::RefCell<dyn OutputInterface>>, @@ -851,10 +845,6 @@ impl QuestionHelper { } /// Sets console I/O to the specified code page and converts the user input. - /// - /// @param string|false $input - /// - /// @return string|false fn reset_io_codepage(&self, cp: i64, input: PhpMixed) -> PhpMixed { let mut input = input; if 0 != cp { |
