aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-symfony-console/src/input/argv_input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-symfony-console/src/input/argv_input.rs')
-rw-r--r--crates/shirabe-symfony-console/src/input/argv_input.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/shirabe-symfony-console/src/input/argv_input.rs b/crates/shirabe-symfony-console/src/input/argv_input.rs
index 94e5299d..6138c195 100644
--- a/crates/shirabe-symfony-console/src/input/argv_input.rs
+++ b/crates/shirabe-symfony-console/src/input/argv_input.rs
@@ -4,6 +4,7 @@ use crate::exception::RuntimeException;
use crate::input::Input;
use crate::input::InputDefinition;
use crate::input::InputInterface;
+use crate::input::InputOptionValue;
use crate::input::StreamableInputInterface;
use indexmap::IndexMap;
use shirabe_php_shim::{PhpMixed, php_regex, preg_match};
@@ -593,7 +594,7 @@ impl InputInterface for ArgvInput {
self.inner.get_options()
}
- fn get_option(&self, name: &str) -> anyhow::Result<PhpMixed> {
+ fn get_option(&self, name: &str) -> anyhow::Result<InputOptionValue> {
self.inner.get_option(name)
}