diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-02-26 18:14:05 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-02-26 18:14:05 +0300 |
commit | c6d9137453c7d94e08da67032f23814830ea3af9 (patch) | |
tree | 9508b4ae960e1b12cb3da1d5591c121ae03b214e /src/RequestMessage.php | |
parent | ae9fd961750d739a8d05c70cbff747fd295b2632 (diff) |
RequestMessage/ResponseMessage: make getContent() protected
Diffstat (limited to 'src/RequestMessage.php')
-rw-r--r-- | src/RequestMessage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RequestMessage.php b/src/RequestMessage.php index 46dfba3..85b9786 100644 --- a/src/RequestMessage.php +++ b/src/RequestMessage.php @@ -30,7 +30,7 @@ class RequestMessage extends Message { /** * @return string[] */ - public function getContent(): array { + protected function getContent(): array { $request = ['type' => $this->requestType]; if (!is_null($this->requestData)) $request['data'] = $this->requestData; |