X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fconfig%2FEtcdConfig.php;h=09d0189a9401e3f5828f3c23ffc889b6a3d69842;hb=aac6b26c0bafc81287bb042304f1d346da94dc89;hp=7020159fd7d72cfcc0a278a00b4ec265ca82e445;hpb=f1d64e2fc641673c0b3c15a591b522f4ce813be9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/config/EtcdConfig.php b/includes/config/EtcdConfig.php index 7020159fd7..09d0189a94 100644 --- a/includes/config/EtcdConfig.php +++ b/includes/config/EtcdConfig.php @@ -326,7 +326,7 @@ class EtcdConfig implements Config, LoggerAwareInterface { private function unserialize( $string ) { if ( $this->encoding === 'YAML' ) { return yaml_parse( $string ); - } else { // JSON + } else { return json_decode( $string, true ); } }