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 |
||
|---|---|---|
| .. | ||
| Format | ||
| ArraySource.php | ||
| EtcdSource.php | ||
| FileSource.php | ||
| JsonSchemaTrait.php | ||
| PhpSettingsSource.php | ||
| ReflectionSchemaSource.php | ||
| SettingsFileUtils.php | ||
| SettingsIncludeLocator.php | ||
| SettingsSource.php | ||