wiki.techinc.nl/includes/Settings/Source
Derick Alangi 3eff7189dd Settings: JsonFormat::decode() expects string not StreamInterface
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
2023-04-05 13:12:41 +01:00
..
Format Settings: Remove unstable markers and mark interfaces appropriately 2022-07-11 13:32:11 +01:00
ArraySource.php Cache loading of SettingsBuilder sources 2021-11-29 12:54:59 -08:00
EtcdSource.php Settings: JsonFormat::decode() expects string not StreamInterface 2023-04-05 13:12:41 +01:00
FileSource.php Support stale cached settings for failover 2022-01-21 13:31:09 -08:00
JsonSchemaTrait.php Add support for nested property schemas in MainConfigSchema. 2022-06-29 16:34:43 +10:00
PhpSettingsSource.php SettingsBuilder: load settings recursively 2022-01-18 21:51:35 +01:00
ReflectionSchemaSource.php Just another 80 or so PHPStorm inspection fixes (#4) 2023-03-25 00:39:06 +00:00
SettingsFileUtils.php SettingsBuilder: load settings recursively 2022-01-18 21:51:35 +01:00
SettingsIncludeLocator.php Settings: Remove unstable markers and mark interfaces appropriately 2022-07-11 13:32:11 +01:00
SettingsSource.php Settings: Remove unstable markers and mark interfaces appropriately 2022-07-11 13:32:11 +01:00