diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-20 08:33:49 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-20 08:33:57 +0900 |
| commit | f31b101ce1e921a026ba234b1f0a83b0392bc118 (patch) | |
| tree | b7ac2aa84d71ebd162cc21aeab0240e7e0544988 /crates/shirabe/src/config/config_source_interface.rs | |
| parent | 5e31fa33c3b5cf726a57a063b8e7a070869250fe (diff) | |
| download | php-shirabe-f31b101ce1e921a026ba234b1f0a83b0392bc118.tar.gz php-shirabe-f31b101ce1e921a026ba234b1f0a83b0392bc118.tar.zst php-shirabe-f31b101ce1e921a026ba234b1f0a83b0392bc118.zip | |
fix(compile): fix all remaining compile errors
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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<()>; |
