|
|
@ -161,7 +161,7 @@ abstract class HttpServicePresenter extends Presenter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private function ensureJsonAsString($json) : string |
|
|
|
|
|
|
|
|
protected function ensureJsonAsString($json) : string |
|
|
{ |
|
|
{ |
|
|
if (is_array($json)) { |
|
|
if (is_array($json)) { |
|
|
$json = json_encode($json); |
|
|
$json = json_encode($json); |
|
|
|