JsonFormat::decode() expects the content to decode as a string not a StreamInterface but Response::getBody() will return a StreamInterface. This was caught by phan as a PhanTypeMismatchArgument error. This patch fixes it by calling getContents() which returns the remaining content as a string. Change-Id: I2ca03f06e7b481ccf19e1c39fa0002b4405ef23a |
||
|---|---|---|
| .. | ||
| Cache | ||
| Config | ||
| Source | ||
| DynamicDefaultValues.php | ||
| LocalSettingsLoader.php | ||
| SettingsBuilder.php | ||
| SettingsBuilderException.php | ||
| WikiFarmSettingsLoader.php | ||