From a8623a5e867825400073d2597dfb3118d6624ef7 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 24 Jun 2026 04:51:47 +0900 Subject: chore: unwrap meaningless PhpMixed::String() --- .../src/symfony/console/input/input.rs | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) (limited to 'crates/shirabe-external-packages/src/symfony/console/input/input.rs') 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(), -- cgit v1.3.1