aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/input/input.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-24 04:51:47 +0900
committernsfisis <nsfisis@gmail.com>2026-06-24 05:02:54 +0900
commita8623a5e867825400073d2597dfb3118d6624ef7 (patch)
tree7df29f68596765dc3914209e14af4999b721815f /crates/shirabe-external-packages/src/symfony/console/input/input.rs
parente87d37a294a4c754585309d391d793a2c9a1287e (diff)
downloadphp-shirabe-a8623a5e867825400073d2597dfb3118d6624ef7.tar.gz
php-shirabe-a8623a5e867825400073d2597dfb3118d6624ef7.tar.zst
php-shirabe-a8623a5e867825400073d2597dfb3118d6624ef7.zip
chore: unwrap meaningless PhpMixed::String()
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/console/input/input.rs')
-rw-r--r--crates/shirabe-external-packages/src/symfony/console/input/input.rs22
1 files changed, 5 insertions, 17 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/console/input/input.rs b/crates/shirabe-external-packages/src/symfony/console/input/input.rs
index d365f8d..5e5a12b 100644
--- a/crates/shirabe-external-packages/src/symfony/console/input/input.rs
+++ b/crates/shirabe-external-packages/src/symfony/console/input/input.rs
@@ -83,7 +83,7 @@ impl Input {
return Err(RuntimeException(shirabe_php_shim::RuntimeException {
message: format!(
"Not enough arguments (missing: \"{}\").",
- PhpMixed::String(shirabe_php_shim::implode(", ", &missing_arguments,)),
+ shirabe_php_shim::implode(", ", &missing_arguments),
),
code: 0,
})
@@ -115,10 +115,7 @@ impl Input {
{
return Err(
InvalidArgumentException(shirabe_php_shim::InvalidArgumentException {
- message: format!(
- "The \"{}\" argument does not exist.",
- PhpMixed::String(name.to_string()),
- ),
+ message: format!("The \"{}\" argument does not exist.", name.to_string()),
code: 0,
})
.into(),
@@ -142,10 +139,7 @@ impl Input {
{
return Err(
InvalidArgumentException(shirabe_php_shim::InvalidArgumentException {
- message: format!(
- "The \"{}\" argument does not exist.",
- PhpMixed::String(name.to_string()),
- ),
+ message: format!("The \"{}\" argument does not exist.", name.to_string()),
code: 0,
})
.into(),
@@ -182,10 +176,7 @@ impl Input {
if !self.definition.has_option(name) {
return Err(
InvalidArgumentException(shirabe_php_shim::InvalidArgumentException {
- message: format!(
- "The \"{}\" option does not exist.",
- PhpMixed::String(name.to_string()),
- ),
+ message: format!("The \"{}\" option does not exist.", name.to_string()),
code: 0,
})
.into(),
@@ -209,10 +200,7 @@ impl Input {
} else if !self.definition.has_option(name) {
return Err(
InvalidArgumentException(shirabe_php_shim::InvalidArgumentException {
- message: format!(
- "The \"{}\" option does not exist.",
- PhpMixed::String(name.to_string()),
- ),
+ message: format!("The \"{}\" option does not exist.", name.to_string()),
code: 0,
})
.into(),