aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/config')
-rw-r--r--crates/shirabe/src/config/json_config_source.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe/src/config/json_config_source.rs b/crates/shirabe/src/config/json_config_source.rs
index 8580135..166d2fe 100644
--- a/crates/shirabe/src/config/json_config_source.rs
+++ b/crates/shirabe/src/config/json_config_source.rs
@@ -206,7 +206,7 @@ impl JsonConfigSource {
}
/// PHP:
- /// ```
+ /// ```php
/// if (!array_is_list($config['repositories'] ?? [])) { convert the keyed map to a list }
/// ```
fn normalize_repositories_to_list(root: &mut IndexMap<String, Box<PhpMixed>>) {
@@ -243,7 +243,7 @@ impl JsonConfigSource {
}
/// PHP:
- /// ```
+ /// ```php
/// $config['repositories'] = array_values(
/// array_filter(
/// $config['repositories'] ?? [],