diff options
Diffstat (limited to 'crates/shirabe/src/config/config_source_interface.rs')
| -rw-r--r-- | crates/shirabe/src/config/config_source_interface.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/crates/shirabe/src/config/config_source_interface.rs b/crates/shirabe/src/config/config_source_interface.rs index 5a23282..f8676cc 100644 --- a/crates/shirabe/src/config/config_source_interface.rs +++ b/crates/shirabe/src/config/config_source_interface.rs @@ -1,20 +1,14 @@ //! ref: composer/src/Composer/Config/ConfigSourceInterface.php -use indexmap::IndexMap; use shirabe_php_shim::PhpMixed; pub trait ConfigSourceInterface: std::fmt::Debug { - fn add_repository( - &mut self, - name: &str, - config: Option<IndexMap<String, PhpMixed>>, - append: bool, - ) -> anyhow::Result<()>; + fn add_repository(&mut self, name: &str, config: PhpMixed, append: bool) -> anyhow::Result<()>; fn insert_repository( &mut self, name: &str, - config: Option<IndexMap<String, PhpMixed>>, + config: PhpMixed, reference_name: &str, offset: i64, ) -> anyhow::Result<()>; |
